100 references to ToRectangleF
System.Windows.Forms.DataVisualization (100)
Common\Annotation\AnnotationBase.cs (1)
4099 RectangleF rect = chartArea.PlotAreaPosition.ToRectangleF();
Common\Annotation\AnnotationCollection.cs (1)
266 chartGraph.SetClip(chartArea.PlotAreaPosition.ToRectangleF());
Common\ChartTypes\AreaChart.cs (1)
609 graph.SetClip( Area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\BarChart.cs (1)
606 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\BoxPlotChart.cs (2)
400 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1188 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\ColumnChart.cs (2)
516 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1102 columnPosition, area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\ErrorBarChart.cs (2)
560 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1317 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\FastLineChart.cs (1)
389 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\FunnelChart.cs (3)
1611 RectangleF plotAreaPositionAbs = this.Graph.GetAbsoluteRectangle( this.Area.Position.ToRectangleF() ); 2176 Area.Position.ToRectangleF() : Area.PlotAreaPosition.ToRectangleF();
Common\ChartTypes\LineChart.cs (1)
570 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\PieChart.cs (28)
544 graph.SetClip(area.Position.ToRectangleF()); 568 ((ChartGraphics)graph).SetClip( area.Position.ToRectangleF() ); 780 rectangle = new RectangleF( area.Position.ToRectangleF().X, area.Position.ToRectangleF().Y, area.Position.ToRectangleF().Width, area.Position.ToRectangleF().Height ); 784 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 1049 this._labelsOverlap = PrepareLabels( area.Position.ToRectangleF() ); 1772 if( x3 - size.Width < area.PlotAreaPosition.ToRectangleF().Left ) 1777 if( x3 + size.Width > area.PlotAreaPosition.ToRectangleF().Right ) 1783 if( y3 - size.Height/2 < area.PlotAreaPosition.ToRectangleF().Top ) 1788 if( y3 + size.Height/2 > area.PlotAreaPosition.ToRectangleF().Bottom ) 2489 RectangleF plotingRectangle = new RectangleF( area.Position.ToRectangleF().X + 1, area.Position.ToRectangleF().Y + 1, area.Position.ToRectangleF().Width-2, area.Position.ToRectangleF().Height-2 ); 2552 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 3325brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter); 3837brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter); 5292 labelColumnLeft = new LabelColumn(area.Position.ToRectangleF()); 5293 labelColumnRight = new LabelColumn(area.Position.ToRectangleF()); 5446RectangleF chartAreaPosition = graph.GetAbsoluteRectangle(area.Position.ToRectangleF());
Common\ChartTypes\RangeChart.cs (2)
273 graph.SetClip( Area.PlotAreaPosition.ToRectangleF() ); 502 graph.SetClip( Area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\StackedAreaChart.cs (1)
409 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\StackedBarChart.cs (3)
481 RectangleF areaPosition = ((ChartGraphics)graph).GetAbsoluteRectangle( area.PlotAreaPosition.ToRectangleF()); 877 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 923 labelRect.Intersect(area.PlotAreaPosition.ToRectangleF());
Common\ChartTypes\StackedColumnChart.cs (2)
487 RectangleF areaPosition = ((ChartGraphics)graph).GetAbsoluteRectangle( area.PlotAreaPosition.ToRectangleF()); 902 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\StockChart.cs (4)
431 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 736 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1210 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1561 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\General\Axis.cs (6)
1815_titlePosition = ChartArea.PlotAreaPosition.ToRectangleF(); 2039RectangleF rect = ChartArea.PlotAreaPosition.ToRectangleF(); 2140RectangleF rect = ChartArea.PlotAreaPosition.ToRectangleF(); 5466(secondPass) ? rect.Size : ChartArea.Position.ToRectangleF().Size, 5480(secondPass) ? rect.Size : ChartArea.Position.ToRectangleF().Size, 5641RectangleF rectLabels = ChartArea.Position.ToRectangleF();
Common\General\AxisScale.cs (1)
1822 paintAreaPosition = PlotAreaPosition.ToRectangleF();
Common\General\AxisScaleSegments.cs (2)
426 RectangleF clipRegion = graph.GetAbsoluteRectangle(this.axis.PlotAreaPosition.ToRectangleF()); 690 RectangleF breakPosition = this.axis.PlotAreaPosition.ToRectangleF();
Common\General\Chart.cs (4)
2222 RectangleF rect = area.Position.ToRectangleF(); 3106 RectangleF areaPlotPosition = ((ChartArea)areasGroup[0]).PlotAreaPosition.ToRectangleF(); 3143 RectangleF rect = area.PlotAreaPosition.ToRectangleF(); 3201 RectangleF areaPosition = area.Position.ToRectangleF();
Common\General\ChartArea.cs (9)
1232 this.originalAreaPosition = this.Position.ToRectangleF(); 1238 this.originalInnerPlotPosition = this.InnerPlotPosition.ToRectangleF(); 1266this.lastAreaPosition = this.Position.ToRectangleF(); 1408 RectangleF backgroundPosition = PlotAreaPosition.ToRectangleF(); 1411 backgroundPosition = Position.ToRectangleF(); 1467 RectangleF plottingRect = Position.ToRectangleF(); 2087RectangleF plottingRect = Position.ToRectangleF(); 2150currentAxis.paintAreaPosition = PlotAreaPosition.ToRectangleF(); 2578 RectangleF areaRectAbs = chartGraph.GetAbsoluteRectangle( chartAreaPosition.ToRectangleF());
Common\General\GridTickMarks.cs (2)
1467 plotArea = _axis.PlotAreaPosition.ToRectangleF(); 1556 RectangleF plotArea = _axis.PlotAreaPosition.ToRectangleF(); // Plot area position
Common\General\Label.cs (2)
1385RectangleF rectLabels = _axis.ChartArea.Position.ToRectangleF(); 1830 RectangleF rectLabels = area.Position.ToRectangleF();
Common\General\Legend.cs (11)
441 RectangleF legendPositionRel = _position.ToRectangleF(); 1651Common.HotRegionsList.AddHotRegion(this.Position.ToRectangleF(), this, ChartElementType.LegendArea, true); 2386 chartGraph.GetRelativeRectangle(Rectangle.Round(chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF()))), 2492 Rectangle separatorRect = Rectangle.Round(chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF())); 4039 Rectangle legendPosition = Rectangle.Round(chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF())); 4233 chartGraph.GetRelativeRectangle(Rectangle.Round(chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF()))), 4271 Rectangle legendPosition = Rectangle.Round(chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF())); 4347 chartGraph.GetRelativeRectangle(Rectangle.Round(chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF()))), 4706 SizeF legendPixelSize = chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF()).Size; 4949 RectangleF legendPosition = legend.Position.ToRectangleF(); 5025 RectangleF legendPlottingRectangle = area.PlotAreaPosition.ToRectangleF();
Common\General\Selection.cs (1)
3135IList list1 = this.GetMarkers(area.PlotAreaPosition.ToRectangleF(), ChartElementType.PlottingArea);
Common\General\SmartLabels.cs (3)
1072 areaPath.AddEllipse(area.PlotAreaPosition.ToRectangleF()); 1117 if(!area.PlotAreaPosition.ToRectangleF().Contains(centerPos)) 1131 if(!area.PlotAreaPosition.ToRectangleF().Contains(labelPosition))
Common\General\StripLine.cs (1)
257 RectangleF plotAreaPosition = this.Axis.ChartArea.PlotAreaPosition.ToRectangleF();
Common\General\Title.cs (3)
1361 RectangleF titlePosition = this.Position.ToRectangleF(); 2096 RectangleF titlePosition = title.Position.ToRectangleF(); 2195 RectangleF titlePlottingRectangle = area.PlotAreaPosition.ToRectangleF();