2 writes to _offset
System.Windows.Forms.DataVisualization (2)
Common\General\Legend.cs (2)
873 this._offset = Size.Empty; 2330 this._offset = Size.Empty;
27 references to _offset
System.Windows.Forms.DataVisualization (27)
Common\General\Legend.cs (27)
453 this._offset.Width = (int)Math.Ceiling(singleWCharacterSize.Width / 2f); 454 this._offset.Height = (int)Math.Ceiling(singleWCharacterSize.Width / 3f); 511 legendPosition.Location.X + this.GetBorderSize() + this._offset.Width, 513 legendPosition.Width - (this.GetBorderSize() + this._offset.Width) * 2, 529 legendPosition.X + this._offset.Width + this.GetBorderSize(), 530 legendPosition.Y + this._offset.Height + this.GetBorderSize() + this._titlePosition.Height + this._headerPosition.Height, 531 legendPosition.Width - 2 * (this._offset.Width + this.GetBorderSize()), 532 legendPosition.Height - 2 * (this._offset.Height + this.GetBorderSize()) ); 920 this._offset.Width = (int)Math.Ceiling(singleWCharacterSize.Width / 2f); 921 this._offset.Height = (int)Math.Ceiling(singleWCharacterSize.Width / 3f); 960 legenItemsMaxSize.Width -= 2 * (this._offset.Width + this.GetBorderSize()); 961 legenItemsMaxSize.Height -= 2 * (this._offset.Height + this.GetBorderSize()); 1036 optimalSize.Width += 2 * (this._offset.Width + this.GetBorderSize()); 1039 optimalSize.Height += 2 * (this._offset.Height + this.GetBorderSize()); 2495 separatorRect.X += this.GetBorderSize() + this._offset.Width; 2542 this._legendItemsAreaPosition.Bottom + (this._truncatedDotsSize + this._offset.Height) / 2); 3977 titleMaxSize.Width -= this.GetBorderSize() * 2 + this._offset.Width; 3987 titleSize.Height += this._offset.Height; 3988 titleSize.Width += this._offset.Width; 4014 headerSize.Height += this._offset.Height; 4015 headerSize.Width += this._offset.Width; 4041 legendPosition.Height -= 2 * (this._offset.Height + this.GetBorderSize()); 4101 fillRect.Y -= this._offset.Height; 4102 fillRect.Height += this._offset.Height; 4316 rect.Y += this._offset.Height; 4317 rect.X += this._offset.Width; 4319 rect.Width -= this.GetBorderSize() * 2 + this._offset.Width;