448 instantiations of SizeF
System.Drawing (15)
commonui\System\Drawing\Advanced\GPRECTF.cs (1)
38return new SizeF(Width, Height);
commonui\System\Drawing\Advanced\RectangleF.cs (1)
113return new SizeF(Width, Height);
commonui\System\Drawing\Advanced\SizeF.cs (3)
38public static readonly SizeF Empty = new SizeF(); 195return new SizeF(sz1.Width + sz2.Width, sz1.Height + sz2.Height); 206return new SizeF(sz1.Width - sz2.Width, sz1.Height - sz2.Height);
commonui\System\Drawing\Advanced\SizeFConverter.cs (2)
87return new SizeF(values[0], values[1]); 150return new SizeF((float)propertyValues["Width"],
commonui\System\Drawing\Graphics.cs (6)
2518return new SizeF(0, 0); 2543return new SizeF(0, 0); 2581return new SizeF(0, 0); 2609return MeasureString(text, font, new SizeF(0,0)); 2616return MeasureString(text, font, new SizeF(width, 999999)); 2623return MeasureString(text, font, new SizeF(width, 999999), format);
commonui\System\Drawing\Image.cs (1)
799return new SizeF(width, height);
commonui\System\Drawing\Size.cs (1)
78return new SizeF(p.Width, p.Height);
System.Messaging (1)
System\Messaging\Design\QueuePathDialog.cs (1)
274this.AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 14.0F);
System.Web.DataVisualization (208)
Common\Annotation\AnnotationBase.cs (4)
2046SizeF markerSizeRel = chartGraphics.GetRelativeSize(new SizeF(markerSize, markerSize)); 2786 size = new SizeF( (float)relativeWidth, (float)relativeHeight ); 2821SizeF markerSizeRel = new SizeF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY); 3539 new SizeF(1f, 1f));
Common\Annotation\ArrowAnnotation.cs (1)
317 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\CalloutAnnotation.cs (5)
654 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 919 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(1f, 1f)); 1122 new SizeF(rectanglePosition.Width, rectanglePosition.Height)); 1170 SizeF size = new SizeF(Math.Abs(cloudCenterAbs.X - point.X), Math.Abs(cloudCenterAbs.Y - point.Y)); 1473 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(2f, 2f));
Common\Annotation\GroupAnnotation.cs (1)
924 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\ImageAnnotation.cs (2)
528 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 706SizeF absSize = new SizeF();
Common\Annotation\LineAnnotation.cs (1)
572 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\PolygonAnnotation.cs (1)
569 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\RectangleAnnotation.cs (2)
392 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 630 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\TextAnnotation.cs (2)
422 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 953new SizeF(2000, 2000),
Common\Borders3D\EmbedBorder.cs (24)
67 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 81sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 113 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 127sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 160 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 174sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 206 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 220sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 253 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 268sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 301 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 314sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 347 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 363this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 386 this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 387 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 404this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 405this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 604 sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 605 sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 621sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 622sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 843 SizeF relSizeLeftTop = new SizeF(sizeLeftTop); 844 SizeF relSizeRightBottom = new SizeF(sizeRightBottom);
Common\Borders3D\EmbossBorder.cs (1)
113 SizeF borderSize = new SizeF(defaultRadiusSize/2f, defaultRadiusSize/2f);
Common\ChartTypes\BarChart.cs (5)
343 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 718SizeF size = new SizeF(); 1318 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 2042SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2114SizeF sizeLabel = new SizeF(size.Width, size.Height);
Common\ChartTypes\BoxPlotChart.cs (10)
482 SizeF relBorderWidth = graph.GetRelativeSize(new SizeF(point.BorderWidth, point.BorderWidth)); 543 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2)); 648 SizeF relMarkerSize = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 846 SizeF size = new SizeF(markerSize, markerSize); 912SizeF markerSizes = new SizeF(0f, 0f); 915markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 933graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 961graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1323 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2));
Common\ChartTypes\BubbleChart.cs (1)
182 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\ColumnChart.cs (6)
269 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 661 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1246SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1368SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\ErrorBarChart.cs (6)
903 SizeF size = new SizeF(markerSize, markerSize); 969SizeF markerSizes = new SizeF(0f, 0f); 972markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 990graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1018graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\FastLineChart.cs (2)
306 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 307 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FastPointChart.cs (2)
307 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 308 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FunnelChart.cs (5)
216 private SizeF _funnelNeckSize = new SizeF(50f, 30f); 1521 new SizeF(1000f, 1000F), 1787 SizeF labelSpacing = new SizeF(3f, 3f); 2379 SizeF neckSize = new SizeF(5f, 5f); 2472gapSize = this.Graph.GetAbsoluteSize(new SizeF(gapSize, gapSize)).Height;
Common\ChartTypes\PieChart.cs (12)
792 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 796 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 889 double offset = graph.GetRelativeSize( new SizeF( point.series.ShadowOffset, point.series.ShadowOffset ) ).Width; 1255new SizeF(1000f, 1000f), 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 2555 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 2559 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 5361 SizeF fontSize = new SizeF(1.4F * series.Font.Size,1.4F * series.Font.Size); 5456float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnRight.columnHeight)).Height; 5476float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnLeft.columnHeight)).Height; 5571 new SizeF(1000f, 1000f), 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PointAndFigureChart.cs (1)
758 new SizeF((float)boxXSize, (float)boxYSize));
Common\ChartTypes\PointChart.cs (6)
699SizeF sizeMarker = graph.GetRelativeSize(new SizeF(markerSize, markerSize)); 701graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 704graph.MeasureString("W", point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 981 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 1414 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\RadarChart.cs (4)
959 SizeF size = new SizeF(markerSize, markerSize); 1071SizeF sizeMarker = new SizeF(markerSize, markerSize); 1072SizeF sizeFont = graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic); 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedAreaChart.cs (4)
1037new SizeF(1000f, 1000f), 1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1519new SizeF(1000f, 1000f), 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedBarChart.cs (8)
1094new SizeF(1000f, 1000f), 1162new SizeF(0f, 0f), 1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1955SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2029new SizeF(1000f, 1000f), 2051new SizeF(0f, 0f), 2078new SizeF(1000f, 1000f), 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedColumnChart.cs (8)
1177new SizeF(1000f, 1000f), 1200new SizeF(0f, 0f), 1231new SizeF(1000f, 1000f), 1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1897new SizeF(1000f, 1000f), 1921new SizeF(0f, 0f), 1943new SizeF(1000f, 1000f), 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StockChart.cs (6)
668 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 808 SizeF sizeOfHeight = new SizeF( rect.Height, rect.Height ); 1021sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1055sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1493 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width));
Common\DataManager\DataSeries.cs (4)
662 SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointDepth, (float)pointDepth)); 692SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointGapDepth, (float)pointGapDepth)); 730 SizeF pointSize = graph.GetAbsoluteSize(new SizeF((float)pointWidth, (float)pointWidth)); 820 SizeF pointRelativeSize = graph.GetRelativeSize(new SizeF((float)pixelPointWidth, (float)pixelPointWidth));
Common\General\Axis.cs (29)
1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1845axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1888axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 2243SizeF realTitleSize = graph.MeasureString(axisTitle.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), format, this.GetTextOrientation()); 2668SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3394SizeF titleStringSize = chartGraph.MeasureStringRel(this.Title.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), StringFormat.GenericTypographic, this.GetTextOrientation()); 3415 titleStringSize = chartGraph.GetRelativeSize(new SizeF(titleStringSize.Height, titleStringSize.Width)); 3536SizeF borderSize = chartGraph.GetRelativeSize(new SizeF(this.LineWidth, this.LineWidth)); 3580SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(ChartArea.Area3DStyle.WallWidth, ChartArea.Area3DStyle.WallWidth)); 5318SizeF imageAbsSize = new SizeF(); 5332SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5344axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5345axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 5489SizeF imageAbsSize = new SizeF(); 5511SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5723SizeF imageAbsSize = new SizeF(); 5746SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5946SizeF imageAbsSize = new SizeF(); 5960 SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5975axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5976axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 6222return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4)); 6225return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4), (float)(size * 2)); 6229return new SizeF(0, 0); 6234return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2)); 6237return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2), (float)(size * 2));
Common\General\ChartArea.cs (4)
1561 SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2574 SizeF titleSize = chartGraph.GetAbsoluteSize(new SizeF(xTitleSize, yTitleSize)); 2642 SizeF relativeLabelSize = chartGraph.GetRelativeSize(new SizeF(labelsSize, labelsSize)); 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y);
Common\General\ChartArea3D.cs (3)
649 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 1259 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2087 SizeF interval = new SizeF(0.5f, 0.5f);
Common\General\ChartGraphics.cs (15)
716SizeF size = new SizeF(); 2125SizeF imageAbsSize = new SizeF(); 2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 3539SizeF imageAbsSize = new SizeF(); 4223SizeF imageAbsSize = new SizeF(); 4474 pathRect.Inflate(new SizeF(2,2)); 4519SizeF imageSize = new SizeF(); 5412 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5413 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5441 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5442 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5466 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5467 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width; 5491 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5492 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width;
Common\General\ChartGraphics3D.cs (4)
3099 SizeF sizeRel = GetRelativeSize(new SizeF(size, size)); 3242 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3368 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3537SizeF markerRelativeSize = graph.GetRelativeSize(new SizeF(markerSize, markerSize));
Common\General\Label.cs (1)
1970SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\Legend.cs (1)
1090 SizeF maxSize = new SizeF(chartAreasRectangle.Width - 2*elementSpacing, chartAreasRectangle.Height - 2*elementSpacing);
Common\General\LegendColumns.cs (5)
1507SizeF imageSize = new SizeF(); 2046SizeF charSize = chartGraph.MeasureStringAbs(this.GetCellText(), cellFont, new SizeF(10000f, 10000f), format); 2095SizeF imageSize = new SizeF(); 2292SizeF imageSize = new SizeF(); 2433SizeF imageSize = new SizeF();
Common\General\Selection.cs (3)
855 SizeF circleRadius = graph.GetAbsoluteSize( new SizeF( radius, radius ) ); 3086SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3176SizeF relSize = this.Graph.GetRelativeSize(new SizeF(4f, 4f));
Common\General\SmartLabels.cs (3)
804 SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 814 newMarkerSize = new SizeF( 1421 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\StripLine.cs (3)
480 SizeF relBorderWidth = new SizeF(this.BorderWidth + 1, this.BorderWidth + 1); 695SizeF size = graph.MeasureStringRel(titleText.Replace("\\n", "\n"), this.Font, new SizeF(100, 100), format, this.GetTextOrientation()); 719SizeF sizeBorder = graph.GetRelativeSize(new SizeF(this.BorderWidth, this.BorderWidth));
Common\General\Title.cs (2)
1369 SizeF layoutArea = new SizeF( 1857 SizeF layoutArea = new SizeF(chartAreasRectangle.Width, chartAreasRectangle.Height);
Common\Utilities\ElementPosition.cs (1)
231get { return new SizeF(this._width, this._height); }
System.Web.Mobile (1)
UI\MobileControls\Design\Util\ImageCreator.cs (1)
38SizeF size = new SizeF(width, 0);
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1447textSize = Size.Ceiling(g.MeasureString(text, font, new SizeF(proposedSize.Width, proposedSize.Height), gdipStringFormat));
winforms\Managed\System\WinForms\ContainerControl.cs (4)
117return new SizeF(1.0F, 1.0F); 120return new SizeF(current.Width / saved.Width, current.Height / saved.Height); 324currentAutoScaleDimensions = new SizeF((float)deviceDpi, (float)deviceDpi); 914SizeF factorSize = new SizeF(factor, factor);
winforms\Managed\System\WinForms\Form.cs (1)
4118return new SizeF(width, height);
winforms\Managed\System\WinForms\Label.cs (2)
1313new SizeF(0, proposedConstraints.Height) : 1314new SizeF(proposedConstraints.Width, proposedConstraints.Height);
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
5260return MeasureTextSimple(owner, g, text, font, new SizeF(0,0)); 5264return MeasureText(owner, g, text, font, new SizeF(width,999999));
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
493ScaleAbsoluteStyles(new SizeF(dx,dy));
System.Windows.Forms.DataVisualization (206)
Common\Annotation\AnnotationBase.cs (4)
2046SizeF markerSizeRel = chartGraphics.GetRelativeSize(new SizeF(markerSize, markerSize)); 2786 size = new SizeF( (float)relativeWidth, (float)relativeHeight ); 2821SizeF markerSizeRel = new SizeF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY); 3539 new SizeF(1f, 1f));
Common\Annotation\ArrowAnnotation.cs (1)
317 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\CalloutAnnotation.cs (5)
654 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 919 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(1f, 1f)); 1122 new SizeF(rectanglePosition.Width, rectanglePosition.Height)); 1170 SizeF size = new SizeF(Math.Abs(cloudCenterAbs.X - point.X), Math.Abs(cloudCenterAbs.Y - point.Y)); 1473 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(2f, 2f));
Common\Annotation\GroupAnnotation.cs (1)
924 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\ImageAnnotation.cs (2)
528 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 706SizeF absSize = new SizeF();
Common\Annotation\LineAnnotation.cs (1)
572 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\PolygonAnnotation.cs (1)
569 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\RectangleAnnotation.cs (2)
392 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 630 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\TextAnnotation.cs (2)
422 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 953new SizeF(2000, 2000),
Common\Borders3D\EmbedBorder.cs (24)
67 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 81sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 113 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 127sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 160 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 174sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 206 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 220sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 253 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 268sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 301 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 314sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 347 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 363this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 386 this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 387 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 404this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 405this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 604 sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 605 sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 621sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 622sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 843 SizeF relSizeLeftTop = new SizeF(sizeLeftTop); 844 SizeF relSizeRightBottom = new SizeF(sizeRightBottom);
Common\Borders3D\EmbossBorder.cs (1)
113 SizeF borderSize = new SizeF(defaultRadiusSize/2f, defaultRadiusSize/2f);
Common\ChartTypes\BarChart.cs (5)
343 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 718SizeF size = new SizeF(); 1318 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 2042SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2114SizeF sizeLabel = new SizeF(size.Width, size.Height);
Common\ChartTypes\BoxPlotChart.cs (10)
482 SizeF relBorderWidth = graph.GetRelativeSize(new SizeF(point.BorderWidth, point.BorderWidth)); 543 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2)); 648 SizeF relMarkerSize = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 846 SizeF size = new SizeF(markerSize, markerSize); 912SizeF markerSizes = new SizeF(0f, 0f); 915markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 933graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 961graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1323 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2));
Common\ChartTypes\BubbleChart.cs (1)
182 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\ColumnChart.cs (6)
269 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 661 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1246SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1368SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\ErrorBarChart.cs (6)
903 SizeF size = new SizeF(markerSize, markerSize); 969SizeF markerSizes = new SizeF(0f, 0f); 972markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 990graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1018graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\FastLineChart.cs (2)
306 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 307 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FastPointChart.cs (2)
307 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 308 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FunnelChart.cs (5)
216 private SizeF _funnelNeckSize = new SizeF(50f, 30f); 1521 new SizeF(1000f, 1000F), 1787 SizeF labelSpacing = new SizeF(3f, 3f); 2379 SizeF neckSize = new SizeF(5f, 5f); 2472gapSize = this.Graph.GetAbsoluteSize(new SizeF(gapSize, gapSize)).Height;
Common\ChartTypes\PieChart.cs (12)
792 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 796 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 889 double offset = graph.GetRelativeSize( new SizeF( point.series.ShadowOffset, point.series.ShadowOffset ) ).Width; 1255new SizeF(1000f, 1000f), 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 2555 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 2559 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 5361 SizeF fontSize = new SizeF(1.4F * series.Font.Size,1.4F * series.Font.Size); 5456float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnRight.columnHeight)).Height; 5476float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnLeft.columnHeight)).Height; 5571 new SizeF(1000f, 1000f), 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PointAndFigureChart.cs (1)
758 new SizeF((float)boxXSize, (float)boxYSize));
Common\ChartTypes\PointChart.cs (6)
699SizeF sizeMarker = graph.GetRelativeSize(new SizeF(markerSize, markerSize)); 701graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 704graph.MeasureString("W", point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 981 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 1414 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\RadarChart.cs (4)
959 SizeF size = new SizeF(markerSize, markerSize); 1071SizeF sizeMarker = new SizeF(markerSize, markerSize); 1072SizeF sizeFont = graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic); 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedAreaChart.cs (4)
1037new SizeF(1000f, 1000f), 1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1519new SizeF(1000f, 1000f), 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedBarChart.cs (8)
1094new SizeF(1000f, 1000f), 1162new SizeF(0f, 0f), 1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1955SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2029new SizeF(1000f, 1000f), 2051new SizeF(0f, 0f), 2078new SizeF(1000f, 1000f), 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedColumnChart.cs (8)
1177new SizeF(1000f, 1000f), 1200new SizeF(0f, 0f), 1231new SizeF(1000f, 1000f), 1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1897new SizeF(1000f, 1000f), 1921new SizeF(0f, 0f), 1943new SizeF(1000f, 1000f), 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StockChart.cs (6)
668 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 808 SizeF sizeOfHeight = new SizeF( rect.Height, rect.Height ); 1021sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1055sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1493 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width));
Common\DataManager\DataSeries.cs (4)
662 SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointDepth, (float)pointDepth)); 692SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointGapDepth, (float)pointGapDepth)); 730 SizeF pointSize = graph.GetAbsoluteSize(new SizeF((float)pointWidth, (float)pointWidth)); 820 SizeF pointRelativeSize = graph.GetRelativeSize(new SizeF((float)pixelPointWidth, (float)pixelPointWidth));
Common\General\Axis.cs (28)
1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1845axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1888axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 2243SizeF realTitleSize = graph.MeasureString(axisTitle.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), format, this.GetTextOrientation()); 2668SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3394SizeF titleStringSize = chartGraph.MeasureStringRel(this.Title.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), StringFormat.GenericTypographic, this.GetTextOrientation()); 3415 titleStringSize = chartGraph.GetRelativeSize(new SizeF(titleStringSize.Height, titleStringSize.Width)); 3536SizeF borderSize = chartGraph.GetRelativeSize(new SizeF(this.LineWidth, this.LineWidth)); 5318SizeF imageAbsSize = new SizeF(); 5332SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5344axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5345axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 5489SizeF imageAbsSize = new SizeF(); 5511SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5723SizeF imageAbsSize = new SizeF(); 5746SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5946SizeF imageAbsSize = new SizeF(); 5960 SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5975axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5976axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 6222return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4)); 6225return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4), (float)(size * 2)); 6229return new SizeF(0, 0); 6234return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2)); 6237return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2), (float)(size * 2));
Common\General\ChartArea.cs (3)
2574 SizeF titleSize = chartGraph.GetAbsoluteSize(new SizeF(xTitleSize, yTitleSize)); 2642 SizeF relativeLabelSize = chartGraph.GetRelativeSize(new SizeF(labelsSize, labelsSize)); 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y);
Common\General\ChartArea3D.cs (3)
649 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 1259 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2087 SizeF interval = new SizeF(0.5f, 0.5f);
Common\General\ChartGraphics.cs (15)
716SizeF size = new SizeF(); 2125SizeF imageAbsSize = new SizeF(); 2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 3539SizeF imageAbsSize = new SizeF(); 4223SizeF imageAbsSize = new SizeF(); 4474 pathRect.Inflate(new SizeF(2,2)); 4519SizeF imageSize = new SizeF(); 5412 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5413 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5441 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5442 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5466 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5467 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width; 5491 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5492 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width;
Common\General\ChartGraphics3D.cs (4)
3099 SizeF sizeRel = GetRelativeSize(new SizeF(size, size)); 3242 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3368 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3537SizeF markerRelativeSize = graph.GetRelativeSize(new SizeF(markerSize, markerSize));
Common\General\Label.cs (1)
1970SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\Legend.cs (1)
1090 SizeF maxSize = new SizeF(chartAreasRectangle.Width - 2*elementSpacing, chartAreasRectangle.Height - 2*elementSpacing);
Common\General\LegendColumns.cs (5)
1507SizeF imageSize = new SizeF(); 2046SizeF charSize = chartGraph.MeasureStringAbs(this.GetCellText(), cellFont, new SizeF(10000f, 10000f), format); 2095SizeF imageSize = new SizeF(); 2292SizeF imageSize = new SizeF(); 2433SizeF imageSize = new SizeF();
Common\General\Selection.cs (3)
855 SizeF circleRadius = graph.GetAbsoluteSize( new SizeF( radius, radius ) ); 3086SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3176SizeF relSize = this.Graph.GetRelativeSize(new SizeF(4f, 4f));
Common\General\SmartLabels.cs (3)
804 SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 814 newMarkerSize = new SizeF( 1421 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\StripLine.cs (3)
480 SizeF relBorderWidth = new SizeF(this.BorderWidth + 1, this.BorderWidth + 1); 695SizeF size = graph.MeasureStringRel(titleText.Replace("\\n", "\n"), this.Font, new SizeF(100, 100), format, this.GetTextOrientation()); 719SizeF sizeBorder = graph.GetRelativeSize(new SizeF(this.BorderWidth, this.BorderWidth));
Common\General\Title.cs (2)
1369 SizeF layoutArea = new SizeF( 1857 SizeF layoutArea = new SizeF(chartAreasRectangle.Width, chartAreasRectangle.Height);
Common\Utilities\ElementPosition.cs (1)
231get { return new SizeF(this._width, this._height); }
System.Workflow.Activities (1)
Designers\StateMachineDesignerPaint.cs (1)
44textSize = graphics.MeasureString(text, font, new SizeF(maxSize.Width, maxSize.Height), format);
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerHelpers.cs (1)
76textSize = graphics.MeasureString(text, font, new SizeF(maxSize.Width, maxSize.Height), format);
AuthoringOM\Design\DesignerInterfaces.cs (1)
160public SizeF Scaling = new SizeF(1.0f, 1.0f);
AuthoringOM\Design\WorkflowView.cs (2)
1041viewPortData.Scaling = new SizeF(ScaleZoomFactor, ScaleZoomFactor); 1537viewPortData.Scaling = new SizeF(1, 1);
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
159this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13f);
821 references to SizeF
System.Drawing (79)
commonui\System\Drawing\Advanced\GPRECTF.cs (1)
36internal SizeF SizeF {
commonui\System\Drawing\Advanced\PointF.cs (8)
122/// Translates a <see cref='System.Drawing.PointF'/> by a given <see cref='System.Drawing.SizeF'/> . 125public static PointF operator +(PointF pt, SizeF sz) { 131/// Translates a <see cref='System.Drawing.PointF'/> by the negative of a given <see cref='System.Drawing.SizeF'/> . 134public static PointF operator -(PointF pt, SizeF sz) { 183/// Translates a <see cref='System.Drawing.PointF'/> by a given <see cref='System.Drawing.SizeF'/> . 186public static PointF Add(PointF pt, SizeF sz){ 192/// Translates a <see cref='System.Drawing.PointF'/> by the negative of a given <see cref='System.Drawing.SizeF'/> . 195public static PointF Subtract(PointF pt, SizeF sz){
commonui\System\Drawing\Advanced\RectangleF.cs (3)
64public RectangleF(PointF location, SizeF size) { 111public SizeF Size { 370public void Inflate(SizeF size) {
commonui\System\Drawing\Advanced\SizeF.cs (42)
36/// Initializes a new instance of the <see cref='System.Drawing.SizeF'/> class. 38public static readonly SizeF Empty = new SizeF(); 48/// Initializes a new instance of the <see cref='System.Drawing.SizeF'/> class 49/// from the specified existing <see cref='System.Drawing.SizeF'/>. 51public SizeF(SizeF size) { 62/// Initializes a new instance of the <see cref='System.Drawing.SizeF'/> class from 77/// Initializes a new instance of the <see cref='System.Drawing.SizeF'/> class from 89/// Performs vector addition of two <see cref='System.Drawing.SizeF'/> objects. 92public static SizeF operator +(SizeF sz1, SizeF sz2) { 99/// Contracts a <see cref='System.Drawing.SizeF'/> by another <see cref='System.Drawing.SizeF'/> 103public static SizeF operator -(SizeF sz1, SizeF sz2) { 109/// Tests whether two <see cref='System.Drawing.SizeF'/> objects 112public static bool operator ==(SizeF sz1, SizeF sz2) { 119/// Tests whether two <see cref='System.Drawing.SizeF'/> objects are different. 122public static bool operator !=(SizeF sz1, SizeF sz2) { 129/// Converts the specified <see cref='System.Drawing.SizeF'/> to a 133public static explicit operator PointF(SizeF size) { 140/// Tests whether this <see cref='System.Drawing.SizeF'/> has zero 158/// <see cref='System.Drawing.SizeF'/>. 177/// <see cref='System.Drawing.SizeF'/>. 191/// Performs vector addition of two <see cref='System.Drawing.SizeF'/> objects. 194public static SizeF Add(SizeF sz1, SizeF sz2) { 201/// Contracts a <see cref='System.Drawing.SizeF'/> by another <see cref='System.Drawing.SizeF'/> 205public static SizeF Subtract(SizeF sz1, SizeF sz2) { 213/// <see cref='System.Drawing.SizeF'/> 214/// with the same dimensions as this <see cref='System.Drawing.SizeF'/>. 218if (!(obj is SizeF)) 221SizeF comp = (SizeF)obj; 256/// <see cref='System.Drawing.SizeF'/>.
commonui\System\Drawing\Advanced\SizeFConverter.cs (8)
114if (destinationType == typeof(string) && value is SizeF) { 115SizeF size = (SizeF)value; 130if (destinationType == typeof(InstanceDescriptor) && value is SizeF) { 131SizeF size = (SizeF)value; 133ConstructorInfo ctor = typeof(SizeF).GetConstructor(new Type[] {typeof(float), typeof(float)}); 170PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(SizeF), attributes);
commonui\System\Drawing\Graphics.cs (10)
2513public SizeF MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat, 2541public SizeF MeasureString(String text, Font font, PointF origin, StringFormat stringFormat) { 2572public SizeF MeasureString(String text, Font font, SizeF layoutArea) { 2579public SizeF MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat) { 2608public SizeF MeasureString(String text, Font font) { 2615public SizeF MeasureString(String text, Font font, int width) { 2622public SizeF MeasureString(String text, Font font, int width, StringFormat format) {
commonui\System\Drawing\Image.cs (2)
790private SizeF _GetPhysicalDimension() { 809public SizeF PhysicalDimension {
commonui\System\Drawing\Size.cs (5)
75/// <see cref='System.Drawing.SizeF'/>. 77public static implicit operator SizeF(Size p) { 192public static Size Ceiling(SizeF value) { 210public static Size Truncate(SizeF value) { 219public static Size Round(SizeF value) {
System.Web.DataVisualization (330)
Common\Annotation\AnnotationBase.cs (11)
2046SizeF markerSizeRel = chartGraphics.GetRelativeSize(new SizeF(markerSize, markerSize)); 2386 virtual internal void GetRelativePosition(out PointF location, out SizeF size, out PointF anchorLocation) 2460 SizeF groupSize = SizeF.Empty; 2821SizeF markerSizeRel = new SizeF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY); 3102 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode) 3113 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord) 3125 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord, bool userInput) 3138 SizeF size = SizeF.Empty; 3538 SizeF markerSizeRel = this.GetGraphics().GetRelativeSize(
Common\Annotation\ArrowAnnotation.cs (2)
312 SizeF size = SizeF.Empty;
Common\Annotation\CalloutAnnotation.cs (7)
188 contentSize = SizeF.Empty; 649 SizeF size = SizeF.Empty; 919 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(1f, 1f)); 1121 SizeF ellipseSize = graphics.GetAbsoluteSize( 1170 SizeF size = new SizeF(Math.Abs(cloudCenterAbs.X - point.X), Math.Abs(cloudCenterAbs.Y - point.Y)); 1473 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(2f, 2f));
Common\Annotation\GroupAnnotation.cs (2)
919 SizeF size = SizeF.Empty;
Common\Annotation\ImageAnnotation.cs (4)
523 SizeF size = SizeF.Empty; 706SizeF absSize = new SizeF(); 710SizeF imageSize = chartGraphics.GetRelativeSize(absSize);
Common\Annotation\LineAnnotation.cs (2)
567 SizeF size = SizeF.Empty;
Common\Annotation\PolygonAnnotation.cs (5)
564 SizeF size = SizeF.Empty; 850 override internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord, bool userInput) 862 SizeF size = SizeF.Empty;
Common\Annotation\RectangleAnnotation.cs (4)
387 SizeF size = SizeF.Empty; 625 SizeF size = SizeF.Empty;
Common\Annotation\TextAnnotation.cs (7)
83 internal SizeF contentSize = SizeF.Empty; 133 contentSize = SizeF.Empty; 181 contentSize = SizeF.Empty; 417 SizeF size = SizeF.Empty; 634SizeF textSize = graphics.MeasureStringRel(
Common\Borders3D\EmbedBorder.cs (6)
785internal SizeF sizeLeftTop = SizeF.Empty; 790internal SizeF sizeRightBottom = SizeF.Empty; 843 SizeF relSizeLeftTop = new SizeF(sizeLeftTop); 844 SizeF relSizeRightBottom = new SizeF(sizeRightBottom);
Common\Borders3D\EmbossBorder.cs (1)
113 SizeF borderSize = new SizeF(defaultRadiusSize/2f, defaultRadiusSize/2f);
Common\ChartTypes\BarChart.cs (17)
343 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 718SizeF size = new SizeF(); 758 SizeF markerSize = SizeF.Empty; 970SizeF valueTextSize = graph.MeasureStringRel(text, point.Font); 1031SizeF valueTextSize = graph.MeasureStringRel(text, point.Font); 1061SizeF textSize = graph.MeasureStringRel(text, point.Font); 1105 private void SetHotRegions( CommonElements common, ChartGraphics graph, DataPoint point, SizeF markerSize, string seriesName, int pointIndex, MarkerStyle pointMarkerStyle, PointF markerPosition ) 1109 SizeF relativeMarkerSize = markerSize; 1318 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1741 SizeF markerSize = SizeF.Empty; 1866 SizeF markerSize = SizeF.Empty; 1989SizeF valueTextSize = graph.MeasureStringRel(text, point.Font); 2042SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2114SizeF sizeLabel = new SizeF(size.Width, size.Height);
Common\ChartTypes\BoxPlotChart.cs (11)
482 SizeF relBorderWidth = graph.GetRelativeSize(new SizeF(point.BorderWidth, point.BorderWidth)); 543 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2)); 648 SizeF relMarkerSize = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 796 SizeF markerSize = GetMarkerSize( 838 virtual protected SizeF GetMarkerSize( 846 SizeF size = new SizeF(markerSize, markerSize); 912SizeF markerSizes = new SizeF(0f, 0f); 925SizeF sizeFont = SizeF.Empty; 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1323 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2));
Common\ChartTypes\BubbleChart.cs (3)
167 override protected SizeF GetMarkerSize( 182 SizeF size = new SizeF(markerSize, markerSize); 303 SizeF areaSize = graph.GetAbsoluteSize(area.PlotAreaPosition.Size);
Common\ChartTypes\ColumnChart.cs (8)
269 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 661 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1124 SizeF markerSize = base.GetMarkerSize( 1164 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 1246SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1368SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\ErrorBarChart.cs (7)
857 SizeF markerSize = GetMarkerSize( 895 virtual protected SizeF GetMarkerSize( 903 SizeF size = new SizeF(markerSize, markerSize); 969SizeF markerSizes = new SizeF(0f, 0f); 982SizeF sizeFont = SizeF.Empty; 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\FastLineChart.cs (2)
306 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 307 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FastPointChart.cs (2)
307 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 308 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FunnelChart.cs (7)
216 private SizeF _funnelNeckSize = new SizeF(50f, 30f); 1518 SizeF spacing = this.Graph.MeasureString( 1787 SizeF labelSpacing = new SizeF(3f, 3f); 2376private SizeF GetFunnelNeckSize(DataPointCustomProperties properties) 2379 SizeF neckSize = new SizeF(5f, 5f); 3022 public SizeF Size = SizeF.Empty;
Common\ChartTypes\PieChart.cs (16)
792 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 796 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 1074 public void DrawLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, float doughnutRadius, bool exploded, ChartArea area, bool overlapTest, int pointIndex, Color pieLineColor ) 1251SizeF sizeFont = graph.GetRelativeSize( 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1401SizeF valueTextSize = graph.MeasureStringRel(text.Replace("\\n", "\n"), point.Font); 1501 SizeF size = graph.MeasureStringRel( text.Replace("\\n", "\n"), point.Font, labelRect.Size, format ); 1588 public bool EstimateLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, bool exploded, ChartArea area ) 1745 SizeF size = graph.MeasureStringRel( text.Replace("\\n", "\n"), point.Font); 2555 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 2559 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 5319 SizeF size = graph.MeasureStringRel( GetLabelText( point ).Replace("\\n", "\n"), point.Font ); 5361 SizeF fontSize = new SizeF(1.4F * series.Font.Size,1.4F * series.Font.Size); 5499SizeF valueTextSize = graph.MeasureStringRel(text.Replace("\\n", "\n"), point.Font); 5567 SizeF sizeFont = graph.GetRelativeSize( 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PointAndFigureChart.cs (1)
757 SizeF markSize = chart.chartPicture.ChartGraph.GetAbsoluteSize(
Common\ChartTypes\PointChart.cs (17)
446 SizeF markerSize = GetMarkerSize( 617 private void SetHotRegions( CommonElements common, ChartGraphics graph, DataPoint point, SizeF markerSize, string seriesName, int pointIndex, MarkerStyle pointMarkerStyle, PointF markerPosition ) 621 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 699SizeF sizeMarker = graph.GetRelativeSize(new SizeF(markerSize, markerSize)); 700SizeF sizeFont = graph.GetRelativeSize( 703SizeF sizeSingleCharacter = graph.GetRelativeSize( 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 968 SizeF size, 978 SizeF pixelSize = SizeF.Empty; 1179 SizeF markerSize = GetMarkerSize( 1274 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 1406 virtual protected SizeF GetMarkerSize( 1414 SizeF size = new SizeF(markerSize, markerSize); 1729 SizeF markerSize = GetMarkerSize( 1797 internal SizeF MarkerSize = SizeF.Empty;
Common\ChartTypes\RadarChart.cs (8)
730 SizeF markerSize = GetMarkerSize( 798 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 951 virtual protected SizeF GetMarkerSize( 959 SizeF size = new SizeF(markerSize, markerSize); 1071SizeF sizeMarker = new SizeF(markerSize, markerSize); 1072SizeF sizeFont = graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic); 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1567 SizeF markerSize = GetMarkerSize(
Common\ChartTypes\StackedAreaChart.cs (4)
1033SizeF sizeFont = graph.GetRelativeSize( 1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1515SizeF sizeFont = graph.GetRelativeSize( 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedBarChart.cs (6)
1090SizeF sizeFont = graph.GetRelativeSize( 1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1955SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2019SizeF sizeFont = SizeF.Empty; 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedColumnChart.cs (6)
1167SizeF sizeFont = SizeF.Empty; 1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1887SizeF sizeFont = SizeF.Empty; 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StockChart.cs (16)
539 SizeF markerSize = SizeF.Empty; 576 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 668 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 808 SizeF sizeOfHeight = new SizeF( rect.Height, rect.Height ); 999SizeF sizeFont = SizeF.Empty; 1006SizeF markerSize = SizeF.Empty; 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1366 SizeF markerSize = SizeF.Empty; 1403 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 1493 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 1873 SizeF markerSize = SizeF.Empty;
Common\DataManager\DataSeries.cs (4)
662 SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointDepth, (float)pointDepth)); 692SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointGapDepth, (float)pointGapDepth)); 730 SizeF pointSize = graph.GetAbsoluteSize(new SizeF((float)pointWidth, (float)pointWidth)); 820 SizeF pointRelativeSize = graph.GetRelativeSize(new SizeF((float)pixelPointWidth, (float)pixelPointWidth));
Common\General\Axis.cs (37)
1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 2243SizeF realTitleSize = graph.MeasureString(axisTitle.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), format, this.GetTextOrientation()); 2244SizeF axisTitleSize = SizeF.Empty; 2668SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3394SizeF titleStringSize = chartGraph.MeasureStringRel(this.Title.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), StringFormat.GenericTypographic, this.GetTextOrientation()); 3436SizeF arrowSizePrimary = SizeF.Empty; 3437SizeF arrowSizeSecondary = SizeF.Empty; 3446arrowSizePrimary = SizeF.Empty; 3455arrowSizeSecondary = SizeF.Empty; 3466arrowSizePrimary = SizeF.Empty; 3475arrowSizeSecondary = SizeF.Empty; 3536SizeF borderSize = chartGraph.GetRelativeSize(new SizeF(this.LineWidth, this.LineWidth)); 3580SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(ChartArea.Area3DStyle.WallWidth, ChartArea.Area3DStyle.WallWidth)); 4856SizeF textSize = graph.MeasureString( 5313SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), autoLabelFont); 5318SizeF imageAbsSize = new SizeF(); 5322SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5332SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5463SizeF axisLabelSize = chartGraph.MeasureStringRel( 5489SizeF imageAbsSize = new SizeF(); 5493SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5511SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5701SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), 5723SizeF imageAbsSize = new SizeF(); 5727SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5746SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5938SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), (autoLabelFont != null) ? autoLabelFont : this.LabelStyle.Font); 5946SizeF imageAbsSize = new SizeF(); 5950 SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5960 SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 6137internal SizeF GetArrowSize(out ArrowOrientation arrowOrientation)
Common\General\ChartArea.cs (6)
1561 SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2574 SizeF titleSize = chartGraph.GetAbsoluteSize(new SizeF(xTitleSize, yTitleSize)); 2642 SizeF relativeLabelSize = chartGraph.GetRelativeSize(new SizeF(labelsSize, labelsSize)); 2662 SizeF titleSize) 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y); 2689 SizeF textSize = chartGraph.MeasureString(
Common\General\ChartArea3D.cs (4)
521 internal SizeF areaSceneWallWidth = SizeF.Empty; 692 areaSceneWallWidth = SizeF.Empty; 2087 SizeF interval = new SizeF(0.5f, 0.5f);
Common\General\ChartGraphics.cs (33)
716SizeF size = new SizeF(); 1151internal SizeF MeasureString( 1154SizeF layoutArea, 1181internal SizeF MeasureStringRel( 1184SizeF layoutArea, 1710internal GraphicsPath GetTranformedTextRectPath(PointF center, SizeF size, int angle) 1780SizeF labelSize = SizeF.Empty; 2125SizeF imageAbsSize = new SizeF(); 2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 2186SizeF size = this.MeasureString("I", font, absPosition.Size, drawingFormat); 2203SizeF size = this.MeasureString("I", font, absPosition.Size, drawingFormat); 2518 SizeF labelSize, 2635 internal SizeF MeasureStringRel( string text, Font font ) 2637 SizeF newSize; 2656 internal SizeF MeasureStringRel( string text, Font font, SizeF layoutArea, StringFormat stringFormat ) 2658 SizeF size, newSize; 2680 SizeF size = this.MeasureString( text, font ); 2694 internal Size MeasureStringAbs( string text, Font font, SizeF layoutArea, StringFormat stringFormat ) 2696 SizeF size = this.MeasureString( text, font, layoutArea, stringFormat ); 2762 SizeF size; 3539SizeF imageAbsSize = new SizeF(); 4223SizeF imageAbsSize = new SizeF(); 4519SizeF imageSize = new SizeF(); 4692 public SizeF GetRelativeSize( SizeF size ) 4698SizeF relative = SizeF.Empty; 4760 public SizeF GetAbsoluteSize( SizeF size ) 4766SizeF absolute = SizeF.Empty;
Common\General\ChartGraphics3D.cs (4)
3099 SizeF sizeRel = GetRelativeSize(new SizeF(size, size)); 3242 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3368 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3537SizeF markerRelativeSize = graph.GetRelativeSize(new SizeF(markerSize, markerSize));
Common\General\ChartRenderingEngine.cs (3)
665 internal SizeF MeasureString( 668 SizeF layoutArea, 682 internal SizeF MeasureString(
Common\General\GdiGraphics.cs (3)
520 public SizeF MeasureString( 523 SizeF layoutArea, 537 public SizeF MeasureString(
Common\General\IChartRenderingEngine.cs (3)
420 SizeF MeasureString( 423 SizeF layoutArea, 434 SizeF MeasureString(
Common\General\Label.cs (3)
1271SizeF size = graph.MeasureString(circAxis.Title.Replace("\\n", "\n"), (_axis.autoLabelFont == null) ? _font : _axis.autoLabelFont); 1319 SizeF size, 1970SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\Legend.cs (6)
870 private SizeF GetOptimalSize(ChartGraphics chartGraph, SizeF maxSizeRel) 887 SizeF maxSizeAbs = chartGraph.GetAbsoluteSize(maxSizeRel); 1090 SizeF maxSize = new SizeF(chartAreasRectangle.Width - 2*elementSpacing, chartAreasRectangle.Height - 2*elementSpacing); 1111 SizeF legendSize = this.GetOptimalSize(chartGraph, maxSize); 4706 SizeF legendPixelSize = chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF()).Size;
Common\General\LegendColumns.cs (6)
1507SizeF imageSize = new SizeF(); 2046SizeF charSize = chartGraph.MeasureStringAbs(this.GetCellText(), cellFont, new SizeF(10000f, 10000f), format); 2095SizeF imageSize = new SizeF(); 2215 SizeF singleWCharacterSize) 2292SizeF imageSize = new SizeF(); 2433SizeF imageSize = new SizeF();
Common\General\Selection.cs (3)
855 SizeF circleRadius = graph.GetAbsoluteSize( new SizeF( radius, radius ) ); 3086SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3176SizeF relSize = this.Graph.GetRelativeSize(new SizeF(4f, 4f));
Common\General\SmartLabels.cs (21)
636 SizeF labelSize, 639 SizeF markerSize, 677 SizeF labelSize, 680 SizeF markerSize, 779 SizeF labelSize, 782 ref SizeF markerSize, 786 SizeF newMarkerSize = SizeF.Empty; 804 SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 912 SizeF labelSize, 915 SizeF markerSize, 1038 SizeF size, 1381 SizeF size, 1408 SizeF size, 1418 SizeF pixelSize = SizeF.Empty; 1479 SizeF sizeMarker, 1480 SizeF sizeFont, 1582 SizeF size, 1699 SizeF labelSize, 1702 SizeF markerSize,
Common\General\StripLine.cs (3)
480 SizeF relBorderWidth = new SizeF(this.BorderWidth + 1, this.BorderWidth + 1); 695SizeF size = graph.MeasureStringRel(titleText.Replace("\\n", "\n"), this.Font, new SizeF(100, 100), format, this.GetTextOrientation()); 719SizeF sizeBorder = graph.GetRelativeSize(new SizeF(this.BorderWidth, this.BorderWidth));
Common\General\Title.cs (6)
1369 SizeF layoutArea = new SizeF( 1381 SizeF titleSize = chartGraph.MeasureString( 1473 SizeF titleArea = chartGraph.GetAbsoluteSize(titlePosition.Size); 1474 SizeF titleSize = chartGraph.MeasureString( 1857 SizeF layoutArea = new SizeF(chartAreasRectangle.Width, chartAreasRectangle.Height); 1871 SizeF titleSize = chartGraph.MeasureString(
Common\Utilities\ElementPosition.cs (1)
229public SizeF Size
Common\Utilities\ImageLoader.cs (2)
366internal bool GetAdjustedImageSize(string name, Graphics graphics, ref SizeF size) 384internal static void GetAdjustedImageSize(Image image, Graphics graphics, ref SizeF size)
System.Web.Mobile (1)
UI\MobileControls\Design\Util\ImageCreator.cs (1)
38SizeF size = new SizeF(width, 0);
System.Windows.Forms (73)
winforms\Managed\System\WinForms\AxHost.cs (1)
1542protected override Rectangle GetScaledBounds(Rectangle bounds, SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
2147protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\ContainerControl.cs (28)
43private SizeF autoScaleDimensions = SizeF.Empty; 44private SizeF currentAutoScaleDimensions = SizeF.Empty; 83public SizeF AutoScaleDimensions { 109protected SizeF AutoScaleFactor { 111SizeF current = CurrentAutoScaleDimensions; 112SizeF saved = AutoScaleDimensions; 160autoScaleDimensions = SizeF.Empty; 163currentAutoScaleDimensions = SizeF.Empty; 313public SizeF CurrentAutoScaleDimensions { 732private SizeF GetFontAutoScaleDimensions() 734SizeF retval = SizeF.Empty; 856child.Scale(AutoScaleFactor, SizeF.Empty, this); 884currentAutoScaleDimensions = SizeF.Empty; 911currentAutoScaleDimensions = SizeF.Empty; 914SizeF factorSize = new SizeF(factor, factor); 996SizeF included = SizeF.Empty; 997SizeF excluded = SizeF.Empty; 1070internal override void Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl) { 1081SizeF ourExcludedFactor = excludedFactor; 1082SizeF childIncludedFactor = includedFactor; 1103SizeF ourExternalContainerFactor = ourExcludedFactor; 1106ourExternalContainerFactor = SizeF.Empty;
winforms\Managed\System\WinForms\Control.cs (9)
6583protected virtual Rectangle GetScaledBounds(Rectangle bounds, SizeF factor, BoundsSpecified specified) { 11306public void Scale(SizeF factor) { 11349internal virtual void Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl) { 11381internal void ScaleChildControls(SizeF includedFactor, SizeF excludedFactor, Control requestingControl, bool updateWindowFontIfNeeded = false) { 11431internal void ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl) { 11480protected virtual void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\Form.cs (5)
612SizeF real = GetAutoScaleSize(Font); 3370SizeF newVarF = GetAutoScaleSize(Font); 4100public static SizeF GetAutoScaleSize(Font font) { 5824protected override Rectangle GetScaledBounds(Rectangle bounds, SizeF factor, BoundsSpecified specified) { 5838protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\GroupBox.cs (1)
735protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\Label.cs (1)
1312SizeF bounds = (proposedConstraints.Width == 1) ?
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
700public static void ScaleAnchorInfo(IArrangedElement element, SizeF factor) {
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1173finalrect = new RectangleF(rects[0].Location, SizeF.Empty);
winforms\Managed\System\WinForms\ListBox.cs (2)
1515protected override Rectangle GetScaledBounds(Rectangle bounds, SizeF factor, BoundsSpecified specified) { 2054protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\MDIClient.cs (1)
227protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\PropertyGrid.cs (10)
5259public static SizeF MeasureText(PropertyGrid owner, Graphics g, string text, Font font ){ 5263public static SizeF MeasureText(PropertyGrid owner, Graphics g, string text, Font font, int width ){ 5267public static SizeF MeasureTextSimple(PropertyGrid owner, Graphics g, string text, Font font, SizeF size ){ 5268SizeF bindingSize; 5273bindingSize = (SizeF) TextRenderer.MeasureText(g, text, font, Size.Ceiling(size), GetTextRendererFlags() ); 5279public static SizeF MeasureText(PropertyGrid owner, Graphics g, string text, Font font, SizeF size ){ 5280SizeF bindingSize; 5291bindingSize = (SizeF) TextRenderer.MeasureText(g, text, font, Size.Ceiling(size), flags );
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
91SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText( this.ownerGrid, g, m_labelTitle.Text, Font, width);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1406SizeF textSize = PropertyGrid.MeasureTextHelper.MeasureText( this.ownerGrid, g, labelText, f);
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
322SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText( this.ownerGrid, g, detailsBtn.Text, detailsBtn.Font);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
1255SizeF sizeF = PropertyGrid.MeasureTextHelper.MeasureText(this.ownerGrid, g, gridEntry.PropertyLabel, Font); 6014SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(this.gridView.ownerGrid, g, editor.Text, gridView.GetBaseFont());
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
813protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\ScrollBar.cs (1)
667protected override Rectangle GetScaledBounds(Rectangle bounds, SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1883protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\TableLayoutPanel.cs (2)
500protected override void ScaleControl(SizeF factor, BoundsSpecified specified) { 505private void ScaleAbsoluteStyles(SizeF factor) {
winforms\Managed\System\WinForms\ToolBar.cs (1)
840protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
1728protected override void ScaleControl(SizeF factor, BoundsSpecified specified) {
System.Windows.Forms.DataVisualization (328)
Common\Annotation\AnnotationBase.cs (11)
2046SizeF markerSizeRel = chartGraphics.GetRelativeSize(new SizeF(markerSize, markerSize)); 2386 virtual internal void GetRelativePosition(out PointF location, out SizeF size, out PointF anchorLocation) 2460 SizeF groupSize = SizeF.Empty; 2821SizeF markerSizeRel = new SizeF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY); 3102 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode) 3113 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord) 3125 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord, bool userInput) 3138 SizeF size = SizeF.Empty; 3538 SizeF markerSizeRel = this.GetGraphics().GetRelativeSize(
Common\Annotation\ArrowAnnotation.cs (2)
312 SizeF size = SizeF.Empty;
Common\Annotation\CalloutAnnotation.cs (7)
188 contentSize = SizeF.Empty; 649 SizeF size = SizeF.Empty; 919 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(1f, 1f)); 1121 SizeF ellipseSize = graphics.GetAbsoluteSize( 1170 SizeF size = new SizeF(Math.Abs(cloudCenterAbs.X - point.X), Math.Abs(cloudCenterAbs.Y - point.Y)); 1473 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(2f, 2f));
Common\Annotation\GroupAnnotation.cs (2)
919 SizeF size = SizeF.Empty;
Common\Annotation\ImageAnnotation.cs (4)
523 SizeF size = SizeF.Empty; 706SizeF absSize = new SizeF(); 710SizeF imageSize = chartGraphics.GetRelativeSize(absSize);
Common\Annotation\LineAnnotation.cs (2)
567 SizeF size = SizeF.Empty;
Common\Annotation\PolygonAnnotation.cs (5)
564 SizeF size = SizeF.Empty; 850 override internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord, bool userInput) 862 SizeF size = SizeF.Empty;
Common\Annotation\RectangleAnnotation.cs (4)
387 SizeF size = SizeF.Empty; 625 SizeF size = SizeF.Empty;
Common\Annotation\TextAnnotation.cs (7)
83 internal SizeF contentSize = SizeF.Empty; 133 contentSize = SizeF.Empty; 181 contentSize = SizeF.Empty; 417 SizeF size = SizeF.Empty; 634SizeF textSize = graphics.MeasureStringRel(
Common\Borders3D\EmbedBorder.cs (6)
785internal SizeF sizeLeftTop = SizeF.Empty; 790internal SizeF sizeRightBottom = SizeF.Empty; 843 SizeF relSizeLeftTop = new SizeF(sizeLeftTop); 844 SizeF relSizeRightBottom = new SizeF(sizeRightBottom);
Common\Borders3D\EmbossBorder.cs (1)
113 SizeF borderSize = new SizeF(defaultRadiusSize/2f, defaultRadiusSize/2f);
Common\ChartTypes\BarChart.cs (17)
343 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 718SizeF size = new SizeF(); 758 SizeF markerSize = SizeF.Empty; 970SizeF valueTextSize = graph.MeasureStringRel(text, point.Font); 1031SizeF valueTextSize = graph.MeasureStringRel(text, point.Font); 1061SizeF textSize = graph.MeasureStringRel(text, point.Font); 1105 private void SetHotRegions( CommonElements common, ChartGraphics graph, DataPoint point, SizeF markerSize, string seriesName, int pointIndex, MarkerStyle pointMarkerStyle, PointF markerPosition ) 1109 SizeF relativeMarkerSize = markerSize; 1318 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1741 SizeF markerSize = SizeF.Empty; 1866 SizeF markerSize = SizeF.Empty; 1989SizeF valueTextSize = graph.MeasureStringRel(text, point.Font); 2042SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2114SizeF sizeLabel = new SizeF(size.Width, size.Height);
Common\ChartTypes\BoxPlotChart.cs (11)
482 SizeF relBorderWidth = graph.GetRelativeSize(new SizeF(point.BorderWidth, point.BorderWidth)); 543 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2)); 648 SizeF relMarkerSize = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 796 SizeF markerSize = GetMarkerSize( 838 virtual protected SizeF GetMarkerSize( 846 SizeF size = new SizeF(markerSize, markerSize); 912SizeF markerSizes = new SizeF(0f, 0f); 925SizeF sizeFont = SizeF.Empty; 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1323 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2));
Common\ChartTypes\BubbleChart.cs (3)
167 override protected SizeF GetMarkerSize( 182 SizeF size = new SizeF(markerSize, markerSize); 303 SizeF areaSize = graph.GetAbsoluteSize(area.PlotAreaPosition.Size);
Common\ChartTypes\ColumnChart.cs (8)
269 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 661 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1124 SizeF markerSize = base.GetMarkerSize( 1164 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 1246SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1368SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\ErrorBarChart.cs (7)
857 SizeF markerSize = GetMarkerSize( 895 virtual protected SizeF GetMarkerSize( 903 SizeF size = new SizeF(markerSize, markerSize); 969SizeF markerSizes = new SizeF(0f, 0f); 982SizeF sizeFont = SizeF.Empty; 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\FastLineChart.cs (2)
306 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 307 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FastPointChart.cs (2)
307 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 308 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FunnelChart.cs (7)
216 private SizeF _funnelNeckSize = new SizeF(50f, 30f); 1518 SizeF spacing = this.Graph.MeasureString( 1787 SizeF labelSpacing = new SizeF(3f, 3f); 2376private SizeF GetFunnelNeckSize(DataPointCustomProperties properties) 2379 SizeF neckSize = new SizeF(5f, 5f); 3022 public SizeF Size = SizeF.Empty;
Common\ChartTypes\PieChart.cs (16)
792 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 796 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 1074 public void DrawLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, float doughnutRadius, bool exploded, ChartArea area, bool overlapTest, int pointIndex, Color pieLineColor ) 1251SizeF sizeFont = graph.GetRelativeSize( 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1401SizeF valueTextSize = graph.MeasureStringRel(text.Replace("\\n", "\n"), point.Font); 1501 SizeF size = graph.MeasureStringRel( text.Replace("\\n", "\n"), point.Font, labelRect.Size, format ); 1588 public bool EstimateLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, bool exploded, ChartArea area ) 1745 SizeF size = graph.MeasureStringRel( text.Replace("\\n", "\n"), point.Font); 2555 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 2559 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 5319 SizeF size = graph.MeasureStringRel( GetLabelText( point ).Replace("\\n", "\n"), point.Font ); 5361 SizeF fontSize = new SizeF(1.4F * series.Font.Size,1.4F * series.Font.Size); 5499SizeF valueTextSize = graph.MeasureStringRel(text.Replace("\\n", "\n"), point.Font); 5567 SizeF sizeFont = graph.GetRelativeSize( 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PointAndFigureChart.cs (1)
757 SizeF markSize = chart.chartPicture.ChartGraph.GetAbsoluteSize(
Common\ChartTypes\PointChart.cs (17)
446 SizeF markerSize = GetMarkerSize( 617 private void SetHotRegions( CommonElements common, ChartGraphics graph, DataPoint point, SizeF markerSize, string seriesName, int pointIndex, MarkerStyle pointMarkerStyle, PointF markerPosition ) 621 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 699SizeF sizeMarker = graph.GetRelativeSize(new SizeF(markerSize, markerSize)); 700SizeF sizeFont = graph.GetRelativeSize( 703SizeF sizeSingleCharacter = graph.GetRelativeSize( 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 968 SizeF size, 978 SizeF pixelSize = SizeF.Empty; 1179 SizeF markerSize = GetMarkerSize( 1274 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 1406 virtual protected SizeF GetMarkerSize( 1414 SizeF size = new SizeF(markerSize, markerSize); 1729 SizeF markerSize = GetMarkerSize( 1797 internal SizeF MarkerSize = SizeF.Empty;
Common\ChartTypes\RadarChart.cs (8)
730 SizeF markerSize = GetMarkerSize( 798 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 951 virtual protected SizeF GetMarkerSize( 959 SizeF size = new SizeF(markerSize, markerSize); 1071SizeF sizeMarker = new SizeF(markerSize, markerSize); 1072SizeF sizeFont = graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic); 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1567 SizeF markerSize = GetMarkerSize(
Common\ChartTypes\StackedAreaChart.cs (4)
1033SizeF sizeFont = graph.GetRelativeSize( 1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1515SizeF sizeFont = graph.GetRelativeSize( 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedBarChart.cs (6)
1090SizeF sizeFont = graph.GetRelativeSize( 1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1955SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2019SizeF sizeFont = SizeF.Empty; 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedColumnChart.cs (6)
1167SizeF sizeFont = SizeF.Empty; 1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1887SizeF sizeFont = SizeF.Empty; 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StockChart.cs (16)
539 SizeF markerSize = SizeF.Empty; 576 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 668 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 808 SizeF sizeOfHeight = new SizeF( rect.Height, rect.Height ); 999SizeF sizeFont = SizeF.Empty; 1006SizeF markerSize = SizeF.Empty; 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1366 SizeF markerSize = SizeF.Empty; 1403 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize); 1493 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 1873 SizeF markerSize = SizeF.Empty;
Common\DataManager\DataSeries.cs (4)
662 SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointDepth, (float)pointDepth)); 692SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointGapDepth, (float)pointGapDepth)); 730 SizeF pointSize = graph.GetAbsoluteSize(new SizeF((float)pointWidth, (float)pointWidth)); 820 SizeF pointRelativeSize = graph.GetRelativeSize(new SizeF((float)pixelPointWidth, (float)pixelPointWidth));
Common\General\Axis.cs (37)
1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 2243SizeF realTitleSize = graph.MeasureString(axisTitle.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), format, this.GetTextOrientation()); 2244SizeF axisTitleSize = SizeF.Empty; 2668SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3394SizeF titleStringSize = chartGraph.MeasureStringRel(this.Title.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), StringFormat.GenericTypographic, this.GetTextOrientation()); 3436SizeF arrowSizePrimary = SizeF.Empty; 3437SizeF arrowSizeSecondary = SizeF.Empty; 3446arrowSizePrimary = SizeF.Empty; 3455arrowSizeSecondary = SizeF.Empty; 3466arrowSizePrimary = SizeF.Empty; 3475arrowSizeSecondary = SizeF.Empty; 3536SizeF borderSize = chartGraph.GetRelativeSize(new SizeF(this.LineWidth, this.LineWidth)); 3580SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(ChartArea.Area3DStyle.WallWidth, ChartArea.Area3DStyle.WallWidth)); 4856SizeF textSize = graph.MeasureString( 5313SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), autoLabelFont); 5318SizeF imageAbsSize = new SizeF(); 5322SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5332SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5463SizeF axisLabelSize = chartGraph.MeasureStringRel( 5489SizeF imageAbsSize = new SizeF(); 5493SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5511SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5701SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), 5723SizeF imageAbsSize = new SizeF(); 5727SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5746SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5938SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), (autoLabelFont != null) ? autoLabelFont : this.LabelStyle.Font); 5946SizeF imageAbsSize = new SizeF(); 5950 SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize); 5960 SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 6137internal SizeF GetArrowSize(out ArrowOrientation arrowOrientation)
Common\General\ChartArea.cs (6)
1561 SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2574 SizeF titleSize = chartGraph.GetAbsoluteSize(new SizeF(xTitleSize, yTitleSize)); 2642 SizeF relativeLabelSize = chartGraph.GetRelativeSize(new SizeF(labelsSize, labelsSize)); 2662 SizeF titleSize) 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y); 2689 SizeF textSize = chartGraph.MeasureString(
Common\General\ChartArea3D.cs (4)
521 internal SizeF areaSceneWallWidth = SizeF.Empty; 692 areaSceneWallWidth = SizeF.Empty; 2087 SizeF interval = new SizeF(0.5f, 0.5f);
Common\General\ChartGraphics.cs (33)
716SizeF size = new SizeF(); 1151internal SizeF MeasureString( 1154SizeF layoutArea, 1181internal SizeF MeasureStringRel( 1184SizeF layoutArea, 1710internal GraphicsPath GetTranformedTextRectPath(PointF center, SizeF size, int angle) 1780SizeF labelSize = SizeF.Empty; 2125SizeF imageAbsSize = new SizeF(); 2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 2186SizeF size = this.MeasureString("I", font, absPosition.Size, drawingFormat); 2203SizeF size = this.MeasureString("I", font, absPosition.Size, drawingFormat); 2518 SizeF labelSize, 2635 internal SizeF MeasureStringRel( string text, Font font ) 2637 SizeF newSize; 2656 internal SizeF MeasureStringRel( string text, Font font, SizeF layoutArea, StringFormat stringFormat ) 2658 SizeF size, newSize; 2680 SizeF size = this.MeasureString( text, font ); 2694 internal Size MeasureStringAbs( string text, Font font, SizeF layoutArea, StringFormat stringFormat ) 2696 SizeF size = this.MeasureString( text, font, layoutArea, stringFormat ); 2762 SizeF size; 3539SizeF imageAbsSize = new SizeF(); 4223SizeF imageAbsSize = new SizeF(); 4519SizeF imageSize = new SizeF(); 4692 public SizeF GetRelativeSize( SizeF size ) 4698SizeF relative = SizeF.Empty; 4760 public SizeF GetAbsoluteSize( SizeF size ) 4766SizeF absolute = SizeF.Empty;
Common\General\ChartGraphics3D.cs (4)
3099 SizeF sizeRel = GetRelativeSize(new SizeF(size, size)); 3242 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3368 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3537SizeF markerRelativeSize = graph.GetRelativeSize(new SizeF(markerSize, markerSize));
Common\General\ChartRenderingEngine.cs (3)
665 internal SizeF MeasureString( 668 SizeF layoutArea, 682 internal SizeF MeasureString(
Common\General\GdiGraphics.cs (3)
520 public SizeF MeasureString( 523 SizeF layoutArea, 537 public SizeF MeasureString(
Common\General\Label.cs (3)
1271SizeF size = graph.MeasureString(circAxis.Title.Replace("\\n", "\n"), (_axis.autoLabelFont == null) ? _font : _axis.autoLabelFont); 1319 SizeF size, 1970SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\Legend.cs (6)
870 private SizeF GetOptimalSize(ChartGraphics chartGraph, SizeF maxSizeRel) 887 SizeF maxSizeAbs = chartGraph.GetAbsoluteSize(maxSizeRel); 1090 SizeF maxSize = new SizeF(chartAreasRectangle.Width - 2*elementSpacing, chartAreasRectangle.Height - 2*elementSpacing); 1111 SizeF legendSize = this.GetOptimalSize(chartGraph, maxSize); 4706 SizeF legendPixelSize = chartGraph.GetAbsoluteRectangle(this.Position.ToRectangleF()).Size;
Common\General\LegendColumns.cs (6)
1507SizeF imageSize = new SizeF(); 2046SizeF charSize = chartGraph.MeasureStringAbs(this.GetCellText(), cellFont, new SizeF(10000f, 10000f), format); 2095SizeF imageSize = new SizeF(); 2215 SizeF singleWCharacterSize) 2292SizeF imageSize = new SizeF(); 2433SizeF imageSize = new SizeF();
Common\General\Selection.cs (3)
855 SizeF circleRadius = graph.GetAbsoluteSize( new SizeF( radius, radius ) ); 3086SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3176SizeF relSize = this.Graph.GetRelativeSize(new SizeF(4f, 4f));
Common\General\SmartLabels.cs (21)
636 SizeF labelSize, 639 SizeF markerSize, 677 SizeF labelSize, 680 SizeF markerSize, 779 SizeF labelSize, 782 ref SizeF markerSize, 786 SizeF newMarkerSize = SizeF.Empty; 804 SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 912 SizeF labelSize, 915 SizeF markerSize, 1038 SizeF size, 1381 SizeF size, 1408 SizeF size, 1418 SizeF pixelSize = SizeF.Empty; 1479 SizeF sizeMarker, 1480 SizeF sizeFont, 1582 SizeF size, 1699 SizeF labelSize, 1702 SizeF markerSize,
Common\General\StripLine.cs (3)
480 SizeF relBorderWidth = new SizeF(this.BorderWidth + 1, this.BorderWidth + 1); 695SizeF size = graph.MeasureStringRel(titleText.Replace("\\n", "\n"), this.Font, new SizeF(100, 100), format, this.GetTextOrientation()); 719SizeF sizeBorder = graph.GetRelativeSize(new SizeF(this.BorderWidth, this.BorderWidth));
Common\General\Title.cs (6)
1369 SizeF layoutArea = new SizeF( 1381 SizeF titleSize = chartGraph.MeasureString( 1473 SizeF titleArea = chartGraph.GetAbsoluteSize(titlePosition.Size); 1474 SizeF titleSize = chartGraph.MeasureString( 1857 SizeF layoutArea = new SizeF(chartAreasRectangle.Width, chartAreasRectangle.Height); 1871 SizeF titleSize = chartGraph.MeasureString(
Common\Utilities\ElementPosition.cs (1)
229public SizeF Size
Common\Utilities\ImageLoader.cs (2)
366internal bool GetAdjustedImageSize(string name, Graphics graphics, ref SizeF size) 384internal static void GetAdjustedImageSize(Image image, Graphics graphics, ref SizeF size)
WinForm\Utilities\AccessibleObject.cs (1)
315SizeF rectSize = rect.Size;
System.Workflow.Activities (2)
Designers\StateMachineDesignerPaint.cs (2)
32SizeF textSize = SizeF.Empty;
System.Workflow.ComponentModel (8)
AuthoringOM\Design\DesignerHelpers.cs (2)
64SizeF textSize = SizeF.Empty;
AuthoringOM\Design\DesignerInterfaces.cs (1)
160public SizeF Scaling = new SizeF(1.0f, 1.0f);
AuthoringOM\Design\DesignerWidgets.cs (4)
1341SizeF size = paletteGraphics.MeasureString(itemInfo.Text, Font); 1977SizeF sizef = graphics.MeasureString(itemInfo.Text, Font); 2166SizeF textSize = graphics.MeasureString(SR.GetString(SR.ToolTipString), this.parentControl.Font); 3385SizeF stringSize = graphics.MeasureString(PreviewModeDescription, designerTheme.Font);
AuthoringOM\Design\WorkflowPrinting.cs (1)
265SizeF stringSize = graphics.MeasureString(headerFooter, headerFooterPrintData.Font);