587 writes to X
System.Drawing (6)
commonui\System\Drawing\Advanced\RectangleF.cs (4)
99X = value.X; 360this.X -= x; 395this.X = result.X; 461this.X += x;
commonui\System\Drawing\Printing\PageSettings.cs (2)
247printableArea.X = (float)UnsafeNativeMethods.GetDeviceCaps(hdc, SafeNativeMethods.PHYSICALOFFSETX) * 100 / dpiX; 256printableArea.X = (float)UnsafeNativeMethods.GetDeviceCaps(hdc, SafeNativeMethods.PHYSICALOFFSETY) * 100 / dpiY;
System.Web.DataVisualization (290)
Common\Annotation\CalloutAnnotation.cs (1)
660 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\GroupAnnotation.cs (1)
929 selectionRect.X = selectionRect.Right;
Common\Annotation\ImageAnnotation.cs (1)
534 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\PolygonAnnotation.cs (1)
575 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\RectangleAnnotation.cs (2)
398 rectanglePosition.X = rectanglePosition.Right; 636 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\TextAnnotation.cs (6)
428 textPosition.X = textPosition.Right; 537 textPositionWithSpacing.X += textSpacing.X * spacingScaleX; 567 textPositionWithSpacing.X = textPosition.X; 570 textPositionWithSpacing.X += textSpacing.X / 2f; 646textActualPosition.X += textPositionWithSpacing.Width - textSize.Width; 652textActualPosition.X += (textPositionWithSpacing.Width - textSize.Width) / 2f;
Common\Borders3D\EmbedBorder.cs (10)
683 rect.X += sizeLeftTop.Width; 862 areasRect.X += relSizeLeftTop.Width; 872 areasRect.X -= 100f - areasRect.Right; 954 shadowRect.X -= radius * 0.3f; 963 shadowRect.X += radius * 0.3f; 999 screwRect.X = shadowRect.X + offset; 1006 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1010 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1015 screwRect.X = shadowRect.X + offset; 1038 shadowRect.X -= 0.5f*radius;
Common\Borders3D\EmbossBorder.cs (4)
119 areasRect.X += borderSize.Width; 131 areasRect.X -= 100f - areasRect.Width; 213 shadowRect.X = absolute.X + radius / 3f; 221 shadowRect.X = absolute.X + 3f * resolution / 96.0f;
Common\ChartTypes\BarChart.cs (20)
566 rectSize.X = (float)barStartPosition; 571 rectSize.X = (float)barSize; 901rectLabel.X = rectSize.Right; 907rectLabel.X = area.PlotAreaPosition.X; 913rectLabel.X = area.PlotAreaPosition.X; 930rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F); 955rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F); 1044labelBackPosition.X += spacing / 2f; 1045rectLabel.X += spacing; 1049labelBackPosition.X = rectLabel.X + (rectLabel.Width - valueTextSize.Width) / 2f; 1053labelBackPosition.X = rectLabel.Right - valueTextSize.Width - spacing / 2f; 1054rectLabel.X -= spacing; 1475 rectSize.X = (float)barStartPosition; 1484 rectSize.X = (float)barSize; 1674 rectSize.X = (float)barStartPosition; 1679 rectSize.X = (float)barSize; 1927rectLabel.X = rectSize.Right; 1932rectLabel.X = area.PlotAreaPosition.X; 1949rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F); 1974rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F);
Common\ChartTypes\BoxPlotChart.cs (4)
436 rectSize.X = (float)(xPosition - width/2); 576 areaRect.X = xPosition - width / 2f; 1224 rectSize.X = (float)(points[0].X - width/2); 1363 areaRect.X = xPosition - width / 2f;
Common\ChartTypes\ColumnChart.cs (3)
467 rectSize.X = (float)(xPosition - width/2); 795 rectSize.X = (float)(pointEx.xPosition - pointEx.width/2); 844 rectSize.X = area.PlotAreaPosition.X;
Common\ChartTypes\ErrorBarChart.cs (2)
594 areaRect.X = xPosition - width / 2f; 1358 areaRect.X = xPosition - width / 2f;
Common\ChartTypes\FunnelChart.cs (14)
1719 position.X -= spacing; 1729 requiredSpacing.X = plotAreaPositionAbs.X - position.X; 1858 labelInfo.Position.X = plotAreaPositionAbs.Right + 1876 labelInfo.Position.X = plotAreaPositionAbs.X - 1902 labelInfo.Position.X = plotAreaCenterXAbs + 1908 labelInfo.Position.X = plotAreaCenterXAbs - 1922 labelInfo.Position.X = plotAreaCenterXAbs + 1928 labelInfo.Position.X = plotAreaCenterXAbs - 1941 labelInfo.Position.X = plotAreaCenterXAbs + 1947 labelInfo.Position.X = plotAreaCenterXAbs - 1960 labelInfo.Position.X = plotAreaPositionAbs.Right + 1971 labelInfo.Position.X = plotAreaPositionAbs.X - 1999 labelInfo.Position.X = plotAreaCenterXAbs - labelInfo.Size.Width / 2f; 2190 plotAreaPosition.X += plotAreaSpacing.X;
Common\ChartTypes\PieChart.cs (17)
807 rectangle.X += rectangle.Width * ( 1 - _sizeCorrection ) / 2; 816 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 1396rect.X = labelRectOver.X; 1414labelBackPosition.X -= spacing / 2f; 1418labelBackPosition.X = rect.X + (rect.Width - valueTextSize.Width) / 2f; 1422labelBackPosition.X = rect.Right - valueTextSize.Width - spacing / 2f; 1487 labelRect.X = area.Position.X; 1494 labelRect.X = labelPosition.X; 1818doughnutRect.X = rectangle.X + rectangle.Width * (1 - (100 - doughnutRadius) / 100) / 2; 2584 rectangle.X += rectangle.Width * ( 1 - sizeCorrection ) / 2; 2606 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 5353 pieRectangle.X = pieRectangle.X + ( oldWidth - pieRectangle.Width ) / 2F; 5465labelPosition.X = labelPoint.X; 5485labelPosition.X = chartAreaPosition.X; 5512labelBackPosition.X -= spacing / 2f; 5516labelBackPosition.X = labelPosition.X + (labelPosition.Width - valueTextSize.Width) / 2f; 5520labelBackPosition.X = labelPosition.Right - valueTextSize.Width - spacing / 2f;
Common\ChartTypes\PointAndFigureChart.cs (1)
818 position.X = rectSize.X;
Common\ChartTypes\PointChart.cs (11)
910labelBackPosition.X += horizontalSpacing / 2f; 913labelBackPosition.X += horizontalSpacing / 2f; 916labelBackPosition.X += horizontalSpacing / 2f; 919labelBackPosition.X -= horizontalSpacing / 2f; 922labelBackPosition.X -= horizontalSpacing / 2f; 925labelBackPosition.X -= horizontalSpacing / 2f; 986 labelPosition.X = position.X - size.Width; 989 labelPosition.X -= 4f*pixelSize.Width; 995 labelPosition.X = position.X; 1003 labelPosition.X = position.X - size.Width/2F; 1006 labelPosition.X -= 2f*pixelSize.Width;
Common\ChartTypes\StackedBarChart.cs (9)
484 areaPosition.X = (float)Math.Floor(areaPosition.X); 822 rectSize.X = (float)zero; 827 rectSize.X = (float)height; 1575 rectSize.X = (float)zero; 1580 rectSize.X = (float)height; 1736 rectSize.X = (float)zero; 1741 rectSize.X = (float)height; 1883rectLabel.X = rectSize.Right; 1888rectLabel.X = area.PlotAreaPosition.X;
Common\ChartTypes\StackedColumnChart.cs (5)
490 areaPosition.X = (float)Math.Floor(areaPosition.X); 835 rectSize.X = (float)(xPosition - width/2); 1602 rectSize.X = (float)(pointEx.xPosition - pointEx.width/2); 1658 rectSize.X = area.PlotAreaPosition.X; 1765 rectSize.X = (float)(pointEx.xPosition - pointEx.width/2);
Common\ChartTypes\StockChart.cs (4)
465 areaRect.X = xPosition - width / 2f; 799 rect.X = xPosition - width / 2f; 1279 areaRect.X = xPosition - width / 2f; 1624 rect.X = xPosition - width / 2f;
Common\General\Axis.cs (14)
1819_titlePosition.X = ChartArea.PlotAreaPosition.X - titleSizeWithoutSpacing - axisSize; 1851 _titlePosition.X += titleSizeWithoutSpacing / 2f - _titlePosition.Width / 2f; 1862_titlePosition.X = ChartArea.PlotAreaPosition.Right + axisSize; 1894 _titlePosition.X += titleSizeWithoutSpacing / 2f - _titlePosition.Width / 2f; 1907_titlePosition.X = ChartArea.PlotAreaPosition.X; 1923_titlePosition.X = ChartArea.PlotAreaPosition.X; 1973transformedTitlePosition.X -= transformedTitlePosition.Width; 2047rect.X += (rect.Width - rect.Height) / 2f; 2148rect.X += (rect.Width - rect.Height) / 2f; 4956curLabelPosition.X = labelPosition[0].X - textSize.Width / 2f; 4961curLabelPosition.X = labelPosition[0].X - textSize.Width / 2f; 5302rect.X = (float)Math.Min(fromPosition, toPosition); 5410rect.X = this.PlotAreaPosition.X; 5551labelPosition.X = labelPosition.X + labelPosition.Width / 2f - width / 2f;
Common\General\AxisScaleSegments.cs (5)
393 shadowPartRect.X = shadowPartRect.Right - 1; 398 shadowPartRect.X += this.axis.ChartArea.ShadowOffset; 429 clipRegion.X += this.axis.ChartArea.ShadowOffset; 702 breakPosition.X = (float)Math.Min(from, to); 713 breakPosition.X -= this.axis.ChartArea.BorderWidth;
Common\General\Chart.cs (5)
2200 areaPosition.X = chartAreasRectangle.X + column * (chartAreasRectangle.Width / areaColumns) + elementSpacing; 3111 areaPlotPosition.X += area.PlotAreaPosition.X - areaPlotPosition.X; 3148 rect.X = areaPlotPosition.X; 3161 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 3210 areaPosition.X = masterArea.Position.X;
Common\General\ChartArea.cs (9)
1470 plottingRect.X += (Position.Width / 100F) * InnerPlotPosition.X; 1577 plottingRect.X += areaWallSize.Width; 1689 plottingRect.X += axisSize; 1715rectLabelSideSpacing.X = (float)Math.Max(offset, rectLabelSideSpacing.X); 1777plottingRect.X -= delta; 1800 plottingRect.X += xTitleSize; 1814 rect.X += (rect.Width - rect.Height) / 2f; 2090plottingRect.X += (Position.Width / 100F) * InnerPlotPosition.X; 2621 plotAreaRectAbs.X += labelsSize;
Common\General\ChartArea3D.cs (4)
716 position.X -= areaSceneWallWidth.Width; 752 wallRect2D.X = position.Right - areaSceneWallWidth.Width; 775 wallRect2D.X += areaSceneWallWidth.Width; 1280 plottingRect.X += (area.Position.Width / 100F) * area.InnerPlotPosition.X;
Common\General\ChartGraphics.cs (38)
722rect.X = point.X - imageScaleRect.Width / 2F; 778rect.X = point.X - ((float)markerSize) / 2F; 837shadowRect.X += shadowSize; 1038diamondRect.X = point.X - ((float)diamondSize) / 2F; 1877newRect.X = absPosition.X + absPosition.Width / 2F; 1887newRect.X -= newRect.Width; 1905newRect.X -= newRect.Width; 1933newRect.X = rotationPoint.X - absPosition.Height / 2F; 1990labelRect.X = absPosition.Right - labelSize.Width; 1994labelRect.X = absPosition.X; 1998labelRect.X = absPosition.X + absPosition.Width / 2F - labelSize.Width / 2F; 2048boundaryRect.X = 0; 2078absPosition.X = labelRect.X + sizeChange; 2086absPosition.X = labelRect.X; 2093absPosition.X = labelRect.X; 2098absPosition.X += sizeChange; 2104absPosition.X = labelRect.X; 2109absPosition.X += sizeChange; 2137absPositionWithoutImage.X += imageAbsSize.Width; 2310imageRect.X = absPosition.X + (absPosition.Width - imageAbsSize.Width - labelSize.Width) / 2; 2314imageRect.X = absPosition.Right - imageAbsSize.Width - labelSize.Width; 2318imageRect.X = absPosition.X; 2404 newRect.X = centerNotRound.X - absPosition.Height / 2F; 2873 gradientRect.X += gradientRect.Width + 1f; 2976 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3534 imageRect.X = fillRect.X; 3557 imageRect.X = fillRect.Right - imageRect.Width; 3563 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 3759offset.X = absolute.X + shadowOffset; 3781 offset.X = absolute.X + shadowOffset - 1; 4215 imageRect.X = fillRect.X; 4238 imageRect.X = fillRect.Right - imageRect.Width; 4244 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4511 imageRect.X = fillRect.X; 4534 imageRect.X = fillRect.Right - imageRect.Width; 4540 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4654 relative.X = rectangle.X * 100F / ((float)(_width - 1)); 4745 absolute.X = rectangle.X * (_width - 1) / 100F;
Common\General\ChartGraphics3D.cs (10)
712pieTopRectangle.X = topFirstRectPoint.X; 718pieBottomRectangle.X = bottomFirstRectPoint.X; 843pieRectangle.X = firstRectPoint.X; 969pieRectangle.X = firstRectPoint.X; 975pieDoughnutRectangle.X = pieRectangle.X + pieRectangle.Width * (1F - doughnutRadius) / 2F; 3253 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3509 rect.X = markerRotatedPosition.X - ((float)markerSize)/2F; 3531rect.X = markerRotatedPosition.X - ((float)markerSize) / 2F; 3554shadowRect.X += shadowSize; 3632rectNonRotated.X = point.X - ((float)markerRelativeSize.Width) / 2F;
Common\General\Label.cs (43)
1329 labelPosition.X = position.X - size.Width; 1333 labelPosition.X = position.X; 1337 labelPosition.X = position.X - size.Width/2F; 1392rectLabels.X = (float)_axis.GetAxisPosition(); 1394rectLabels.X = _axis.PlotAreaPosition.X; 1396rectLabels.X -= labelSize + _axis.markSize; 1406rectLabels.X = (float)_axis.GetAxisPosition(); 1408rectLabels.X = _axis.PlotAreaPosition.Right; 1409rectLabels.X += _axis.markSize; 1448boundaryRect.X += _axis.totlaGroupingLabelsSize; 1626rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 1635rect.X += rect.Width; 1649rect.X += rect.Width; 1692rect.X += _axis.totlaGroupingLabelsSizeAdjustment; 1695rect.X += _axis.groupingLabelSizes[index - 1]; 1701rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 1704rect.X += _axis.groupingLabelSizes[index - 1]; 1746rect.X = (float)Math.Min(fromPosition, toPosition); 1753rect.X -= rect.Width / 2F; 1836 rectLabels.X = (float)labelsAxis.GetAxisPosition(); 1841 rectLabels.X = labelsAxis.PlotAreaPosition.X; 1844 rectLabels.X -= rectLabels.Width; 1848 rectLabels.X -= labelsAxis.markSize; 1860 rectLabels.X = (float)labelsAxis.GetAxisPosition(); 1865 rectLabels.X = labelsAxis.PlotAreaPosition.Right; 1870 rectLabels.X += labelsAxis.markSize; 2041boundaryRect.X += _axis.totlaGroupingLabelsSize; 2128rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 2138rect.X += rect.Width; 2155rect.X += rect.Width; 2211rect.X += _axis.totlaGroupingLabelsSizeAdjustment; 2214rect.X += _axis.groupingLabelSizes[index - 1]; 2220rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 2223rect.X += _axis.groupingLabelSizes[index - 1]; 2260rect.X = (float)Math.Min(fromPosition, toPosition); 2271rect.X -= rect.Width / 2F; 2319rect.X = rectPoints[1].X; 2331rect.X = rectPoints[0].X; 2340rect.X = rectPoints[1].X; 2348rect.X = rightLabelsRect.X; 2362rect.X = rectPoints[0].X; 2372rect.X = rectPoints[1].X; 2386rect.X = rightLabelsRect.X;
Common\General\Legend.cs (14)
1125 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1129 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1133 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1145 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1149 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1153 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1161 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1177 chartAreasRectangle.X = legendPosition.Right; 1181 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 4442 rect.X += (int)(_itemColumnSpacingRel / 2f); 4968 legendPosition.X -= areaSpacing; 4971 legendPosition.X -= legendPosition.Width; 4976 legendPosition.X += areaSpacing; 4979 legendPosition.X = area.Position.Right + areaSpacing;
Common\General\SmartLabels.cs (5)
1426 labelPosition.X = position.X - size.Width; 1429 labelPosition.X -= 4f*pixelSize.Width; 1435 labelPosition.X = position.X; 1443 labelPosition.X = position.X - size.Width/2F; 1446 labelPosition.X -= 2f*pixelSize.Width;
Common\General\StripLine.cs (6)
367 rect.X = plotAreaPosition.X; 379 rect.X = (float)Math.Min(pos1, pos2); 485 lineRect.X = point1.X; 492 lineRect.X = point1.X - relBorderWidth.Width / 2f; 561 rect.X = rect.Right; 623 rect.X = point1.X;
Common\General\Title.cs (21)
1414 titlePosition.X = titlePosition.X - titlePosition.Width; 1420 titlePosition.X = titlePosition.X - titlePosition.Width/2f; 1509 exactTitleRect.X = titlePosition.Right - exactTitleRect.Width; 1515 exactTitleRect.X = titlePosition.X + 1567 absPosition.X += this.titleBorderSpacing / 2f; 1758shadowPosition.X -= 1; 1765shadowPosition.X += 2; 1782shadowPosition.X += 1; 1789shadowPosition.X -= 2; 1807shadowPosition.X += shadowOffset; 1906 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1920 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1932 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1942 chartAreasRectangle.X = titlePosition.Right; 1946 titlePosition.X = chartAreasRectangle.Right - titleSize.Width - elementSpacing; 1968 titlePosition.X += this.DockingOffset; 2118 titlePosition.X -= areaSpacing; 2121 titlePosition.X -= titlePosition.Width; 2122prevChartAreasRectangle.X -= titlePosition.Width + areaSpacing; 2128 titlePosition.X += areaSpacing; 2131titlePosition.X = prevChartAreasRectangle.Right + areaSpacing;
System.Windows.Forms.DataVisualization (291)
Common\Annotation\CalloutAnnotation.cs (1)
660 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\GroupAnnotation.cs (1)
929 selectionRect.X = selectionRect.Right;
Common\Annotation\ImageAnnotation.cs (1)
534 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\PolygonAnnotation.cs (1)
575 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\RectangleAnnotation.cs (2)
398 rectanglePosition.X = rectanglePosition.Right; 636 rectanglePosition.X = rectanglePosition.Right;
Common\Annotation\TextAnnotation.cs (6)
428 textPosition.X = textPosition.Right; 537 textPositionWithSpacing.X += textSpacing.X * spacingScaleX; 567 textPositionWithSpacing.X = textPosition.X; 570 textPositionWithSpacing.X += textSpacing.X / 2f; 646textActualPosition.X += textPositionWithSpacing.Width - textSize.Width; 652textActualPosition.X += (textPositionWithSpacing.Width - textSize.Width) / 2f;
Common\Borders3D\EmbedBorder.cs (10)
683 rect.X += sizeLeftTop.Width; 862 areasRect.X += relSizeLeftTop.Width; 872 areasRect.X -= 100f - areasRect.Right; 954 shadowRect.X -= radius * 0.3f; 963 shadowRect.X += radius * 0.3f; 999 screwRect.X = shadowRect.X + offset; 1006 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1010 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1015 screwRect.X = shadowRect.X + offset; 1038 shadowRect.X -= 0.5f*radius;
Common\Borders3D\EmbossBorder.cs (4)
119 areasRect.X += borderSize.Width; 131 areasRect.X -= 100f - areasRect.Width; 213 shadowRect.X = absolute.X + radius / 3f; 221 shadowRect.X = absolute.X + 3f * resolution / 96.0f;
Common\ChartTypes\BarChart.cs (20)
566 rectSize.X = (float)barStartPosition; 571 rectSize.X = (float)barSize; 901rectLabel.X = rectSize.Right; 907rectLabel.X = area.PlotAreaPosition.X; 913rectLabel.X = area.PlotAreaPosition.X; 930rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F); 955rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F); 1044labelBackPosition.X += spacing / 2f; 1045rectLabel.X += spacing; 1049labelBackPosition.X = rectLabel.X + (rectLabel.Width - valueTextSize.Width) / 2f; 1053labelBackPosition.X = rectLabel.Right - valueTextSize.Width - spacing / 2f; 1054rectLabel.X -= spacing; 1475 rectSize.X = (float)barStartPosition; 1484 rectSize.X = (float)barSize; 1674 rectSize.X = (float)barStartPosition; 1679 rectSize.X = (float)barSize; 1927rectLabel.X = rectSize.Right; 1932rectLabel.X = area.PlotAreaPosition.X; 1949rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F); 1974rectLabel.X += (float)Math.Min(rectLabel.Width, markerSize.Width / 2F);
Common\ChartTypes\BoxPlotChart.cs (4)
436 rectSize.X = (float)(xPosition - width/2); 576 areaRect.X = xPosition - width / 2f; 1224 rectSize.X = (float)(points[0].X - width/2); 1363 areaRect.X = xPosition - width / 2f;
Common\ChartTypes\ColumnChart.cs (3)
467 rectSize.X = (float)(xPosition - width/2); 795 rectSize.X = (float)(pointEx.xPosition - pointEx.width/2); 844 rectSize.X = area.PlotAreaPosition.X;
Common\ChartTypes\ErrorBarChart.cs (2)
594 areaRect.X = xPosition - width / 2f; 1358 areaRect.X = xPosition - width / 2f;
Common\ChartTypes\FunnelChart.cs (14)
1719 position.X -= spacing; 1729 requiredSpacing.X = plotAreaPositionAbs.X - position.X; 1858 labelInfo.Position.X = plotAreaPositionAbs.Right + 1876 labelInfo.Position.X = plotAreaPositionAbs.X - 1902 labelInfo.Position.X = plotAreaCenterXAbs + 1908 labelInfo.Position.X = plotAreaCenterXAbs - 1922 labelInfo.Position.X = plotAreaCenterXAbs + 1928 labelInfo.Position.X = plotAreaCenterXAbs - 1941 labelInfo.Position.X = plotAreaCenterXAbs + 1947 labelInfo.Position.X = plotAreaCenterXAbs - 1960 labelInfo.Position.X = plotAreaPositionAbs.Right + 1971 labelInfo.Position.X = plotAreaPositionAbs.X - 1999 labelInfo.Position.X = plotAreaCenterXAbs - labelInfo.Size.Width / 2f; 2190 plotAreaPosition.X += plotAreaSpacing.X;
Common\ChartTypes\PieChart.cs (17)
807 rectangle.X += rectangle.Width * ( 1 - _sizeCorrection ) / 2; 816 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 1396rect.X = labelRectOver.X; 1414labelBackPosition.X -= spacing / 2f; 1418labelBackPosition.X = rect.X + (rect.Width - valueTextSize.Width) / 2f; 1422labelBackPosition.X = rect.Right - valueTextSize.Width - spacing / 2f; 1487 labelRect.X = area.Position.X; 1494 labelRect.X = labelPosition.X; 1818doughnutRect.X = rectangle.X + rectangle.Width * (1 - (100 - doughnutRadius) / 100) / 2; 2584 rectangle.X += rectangle.Width * ( 1 - sizeCorrection ) / 2; 2606 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 5353 pieRectangle.X = pieRectangle.X + ( oldWidth - pieRectangle.Width ) / 2F; 5465labelPosition.X = labelPoint.X; 5485labelPosition.X = chartAreaPosition.X; 5512labelBackPosition.X -= spacing / 2f; 5516labelBackPosition.X = labelPosition.X + (labelPosition.Width - valueTextSize.Width) / 2f; 5520labelBackPosition.X = labelPosition.Right - valueTextSize.Width - spacing / 2f;
Common\ChartTypes\PointAndFigureChart.cs (1)
818 position.X = rectSize.X;
Common\ChartTypes\PointChart.cs (11)
910labelBackPosition.X += horizontalSpacing / 2f; 913labelBackPosition.X += horizontalSpacing / 2f; 916labelBackPosition.X += horizontalSpacing / 2f; 919labelBackPosition.X -= horizontalSpacing / 2f; 922labelBackPosition.X -= horizontalSpacing / 2f; 925labelBackPosition.X -= horizontalSpacing / 2f; 986 labelPosition.X = position.X - size.Width; 989 labelPosition.X -= 4f*pixelSize.Width; 995 labelPosition.X = position.X; 1003 labelPosition.X = position.X - size.Width/2F; 1006 labelPosition.X -= 2f*pixelSize.Width;
Common\ChartTypes\StackedBarChart.cs (9)
484 areaPosition.X = (float)Math.Floor(areaPosition.X); 822 rectSize.X = (float)zero; 827 rectSize.X = (float)height; 1575 rectSize.X = (float)zero; 1580 rectSize.X = (float)height; 1736 rectSize.X = (float)zero; 1741 rectSize.X = (float)height; 1883rectLabel.X = rectSize.Right; 1888rectLabel.X = area.PlotAreaPosition.X;
Common\ChartTypes\StackedColumnChart.cs (5)
490 areaPosition.X = (float)Math.Floor(areaPosition.X); 835 rectSize.X = (float)(xPosition - width/2); 1602 rectSize.X = (float)(pointEx.xPosition - pointEx.width/2); 1658 rectSize.X = area.PlotAreaPosition.X; 1765 rectSize.X = (float)(pointEx.xPosition - pointEx.width/2);
Common\ChartTypes\StockChart.cs (4)
465 areaRect.X = xPosition - width / 2f; 799 rect.X = xPosition - width / 2f; 1279 areaRect.X = xPosition - width / 2f; 1624 rect.X = xPosition - width / 2f;
Common\General\Axis.cs (14)
1819_titlePosition.X = ChartArea.PlotAreaPosition.X - titleSizeWithoutSpacing - axisSize; 1851 _titlePosition.X += titleSizeWithoutSpacing / 2f - _titlePosition.Width / 2f; 1862_titlePosition.X = ChartArea.PlotAreaPosition.Right + axisSize; 1894 _titlePosition.X += titleSizeWithoutSpacing / 2f - _titlePosition.Width / 2f; 1907_titlePosition.X = ChartArea.PlotAreaPosition.X; 1923_titlePosition.X = ChartArea.PlotAreaPosition.X; 1973transformedTitlePosition.X -= transformedTitlePosition.Width; 2047rect.X += (rect.Width - rect.Height) / 2f; 2148rect.X += (rect.Width - rect.Height) / 2f; 4956curLabelPosition.X = labelPosition[0].X - textSize.Width / 2f; 4961curLabelPosition.X = labelPosition[0].X - textSize.Width / 2f; 5302rect.X = (float)Math.Min(fromPosition, toPosition); 5410rect.X = this.PlotAreaPosition.X; 5551labelPosition.X = labelPosition.X + labelPosition.Width / 2f - width / 2f;
Common\General\AxisScaleSegments.cs (5)
393 shadowPartRect.X = shadowPartRect.Right - 1; 398 shadowPartRect.X += this.axis.ChartArea.ShadowOffset; 429 clipRegion.X += this.axis.ChartArea.ShadowOffset; 702 breakPosition.X = (float)Math.Min(from, to); 713 breakPosition.X -= this.axis.ChartArea.BorderWidth;
Common\General\Chart.cs (5)
2200 areaPosition.X = chartAreasRectangle.X + column * (chartAreasRectangle.Width / areaColumns) + elementSpacing; 3111 areaPlotPosition.X += area.PlotAreaPosition.X - areaPlotPosition.X; 3148 rect.X = areaPlotPosition.X; 3161 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 3210 areaPosition.X = masterArea.Position.X;
Common\General\ChartArea.cs (9)
1470 plottingRect.X += (Position.Width / 100F) * InnerPlotPosition.X; 1577 plottingRect.X += areaWallSize.Width; 1689 plottingRect.X += axisSize; 1715rectLabelSideSpacing.X = (float)Math.Max(offset, rectLabelSideSpacing.X); 1777plottingRect.X -= delta; 1800 plottingRect.X += xTitleSize; 1814 rect.X += (rect.Width - rect.Height) / 2f; 2090plottingRect.X += (Position.Width / 100F) * InnerPlotPosition.X; 2621 plotAreaRectAbs.X += labelsSize;
Common\General\ChartArea3D.cs (4)
716 position.X -= areaSceneWallWidth.Width; 752 wallRect2D.X = position.Right - areaSceneWallWidth.Width; 775 wallRect2D.X += areaSceneWallWidth.Width; 1280 plottingRect.X += (area.Position.Width / 100F) * area.InnerPlotPosition.X;
Common\General\ChartGraphics.cs (38)
722rect.X = point.X - imageScaleRect.Width / 2F; 778rect.X = point.X - ((float)markerSize) / 2F; 837shadowRect.X += shadowSize; 1038diamondRect.X = point.X - ((float)diamondSize) / 2F; 1877newRect.X = absPosition.X + absPosition.Width / 2F; 1887newRect.X -= newRect.Width; 1905newRect.X -= newRect.Width; 1933newRect.X = rotationPoint.X - absPosition.Height / 2F; 1990labelRect.X = absPosition.Right - labelSize.Width; 1994labelRect.X = absPosition.X; 1998labelRect.X = absPosition.X + absPosition.Width / 2F - labelSize.Width / 2F; 2048boundaryRect.X = 0; 2078absPosition.X = labelRect.X + sizeChange; 2086absPosition.X = labelRect.X; 2093absPosition.X = labelRect.X; 2098absPosition.X += sizeChange; 2104absPosition.X = labelRect.X; 2109absPosition.X += sizeChange; 2137absPositionWithoutImage.X += imageAbsSize.Width; 2310imageRect.X = absPosition.X + (absPosition.Width - imageAbsSize.Width - labelSize.Width) / 2; 2314imageRect.X = absPosition.Right - imageAbsSize.Width - labelSize.Width; 2318imageRect.X = absPosition.X; 2404 newRect.X = centerNotRound.X - absPosition.Height / 2F; 2873 gradientRect.X += gradientRect.Width + 1f; 2976 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3534 imageRect.X = fillRect.X; 3557 imageRect.X = fillRect.Right - imageRect.Width; 3563 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 3759offset.X = absolute.X + shadowOffset; 3781 offset.X = absolute.X + shadowOffset - 1; 4215 imageRect.X = fillRect.X; 4238 imageRect.X = fillRect.Right - imageRect.Width; 4244 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4511 imageRect.X = fillRect.X; 4534 imageRect.X = fillRect.Right - imageRect.Width; 4540 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4654 relative.X = rectangle.X * 100F / ((float)(_width - 1)); 4745 absolute.X = rectangle.X * (_width - 1) / 100F;
Common\General\ChartGraphics3D.cs (10)
712pieTopRectangle.X = topFirstRectPoint.X; 718pieBottomRectangle.X = bottomFirstRectPoint.X; 843pieRectangle.X = firstRectPoint.X; 969pieRectangle.X = firstRectPoint.X; 975pieDoughnutRectangle.X = pieRectangle.X + pieRectangle.Width * (1F - doughnutRadius) / 2F; 3253 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3509 rect.X = markerRotatedPosition.X - ((float)markerSize)/2F; 3531rect.X = markerRotatedPosition.X - ((float)markerSize) / 2F; 3554shadowRect.X += shadowSize; 3632rectNonRotated.X = point.X - ((float)markerRelativeSize.Width) / 2F;
Common\General\Label.cs (43)
1329 labelPosition.X = position.X - size.Width; 1333 labelPosition.X = position.X; 1337 labelPosition.X = position.X - size.Width/2F; 1392rectLabels.X = (float)_axis.GetAxisPosition(); 1394rectLabels.X = _axis.PlotAreaPosition.X; 1396rectLabels.X -= labelSize + _axis.markSize; 1406rectLabels.X = (float)_axis.GetAxisPosition(); 1408rectLabels.X = _axis.PlotAreaPosition.Right; 1409rectLabels.X += _axis.markSize; 1448boundaryRect.X += _axis.totlaGroupingLabelsSize; 1626rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 1635rect.X += rect.Width; 1649rect.X += rect.Width; 1692rect.X += _axis.totlaGroupingLabelsSizeAdjustment; 1695rect.X += _axis.groupingLabelSizes[index - 1]; 1701rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 1704rect.X += _axis.groupingLabelSizes[index - 1]; 1746rect.X = (float)Math.Min(fromPosition, toPosition); 1753rect.X -= rect.Width / 2F; 1836 rectLabels.X = (float)labelsAxis.GetAxisPosition(); 1841 rectLabels.X = labelsAxis.PlotAreaPosition.X; 1844 rectLabels.X -= rectLabels.Width; 1848 rectLabels.X -= labelsAxis.markSize; 1860 rectLabels.X = (float)labelsAxis.GetAxisPosition(); 1865 rectLabels.X = labelsAxis.PlotAreaPosition.Right; 1870 rectLabels.X += labelsAxis.markSize; 2041boundaryRect.X += _axis.totlaGroupingLabelsSize; 2128rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 2138rect.X += rect.Width; 2155rect.X += rect.Width; 2211rect.X += _axis.totlaGroupingLabelsSizeAdjustment; 2214rect.X += _axis.groupingLabelSizes[index - 1]; 2220rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 2223rect.X += _axis.groupingLabelSizes[index - 1]; 2260rect.X = (float)Math.Min(fromPosition, toPosition); 2271rect.X -= rect.Width / 2F; 2319rect.X = rectPoints[1].X; 2331rect.X = rectPoints[0].X; 2340rect.X = rectPoints[1].X; 2348rect.X = rightLabelsRect.X; 2362rect.X = rectPoints[0].X; 2372rect.X = rectPoints[1].X; 2386rect.X = rightLabelsRect.X;
Common\General\Legend.cs (14)
1125 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1129 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1133 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1145 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1149 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1153 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1161 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1177 chartAreasRectangle.X = legendPosition.Right; 1181 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 4442 rect.X += (int)(_itemColumnSpacingRel / 2f); 4968 legendPosition.X -= areaSpacing; 4971 legendPosition.X -= legendPosition.Width; 4976 legendPosition.X += areaSpacing; 4979 legendPosition.X = area.Position.Right + areaSpacing;
Common\General\SmartLabels.cs (5)
1426 labelPosition.X = position.X - size.Width; 1429 labelPosition.X -= 4f*pixelSize.Width; 1435 labelPosition.X = position.X; 1443 labelPosition.X = position.X - size.Width/2F; 1446 labelPosition.X -= 2f*pixelSize.Width;
Common\General\StripLine.cs (6)
367 rect.X = plotAreaPosition.X; 379 rect.X = (float)Math.Min(pos1, pos2); 485 lineRect.X = point1.X; 492 lineRect.X = point1.X - relBorderWidth.Width / 2f; 561 rect.X = rect.Right; 623 rect.X = point1.X;
Common\General\Title.cs (21)
1414 titlePosition.X = titlePosition.X - titlePosition.Width; 1420 titlePosition.X = titlePosition.X - titlePosition.Width/2f; 1509 exactTitleRect.X = titlePosition.Right - exactTitleRect.Width; 1515 exactTitleRect.X = titlePosition.X + 1567 absPosition.X += this.titleBorderSpacing / 2f; 1758shadowPosition.X -= 1; 1765shadowPosition.X += 2; 1782shadowPosition.X += 1; 1789shadowPosition.X -= 2; 1807shadowPosition.X += shadowOffset; 1906 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1920 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1932 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1942 chartAreasRectangle.X = titlePosition.Right; 1946 titlePosition.X = chartAreasRectangle.Right - titleSize.Width - elementSpacing; 1968 titlePosition.X += this.DockingOffset; 2118 titlePosition.X -= areaSpacing; 2121 titlePosition.X -= titlePosition.Width; 2122prevChartAreasRectangle.X -= titlePosition.Width + areaSpacing; 2128 titlePosition.X += areaSpacing; 2131titlePosition.X = prevChartAreasRectangle.Right + areaSpacing;
WinForm\Utilities\AccessibleObject.cs (1)
304absolute.X = bounds.X * (this._chart.Width - 1) / 100F;
1078 references to X
System.Drawing (55)
commonui\System\Drawing\Advanced\GPRECTF.cs (1)
30X = rect.X;
commonui\System\Drawing\Advanced\GraphicsPath.cs (4)
777AddArc(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 1134int status = SafeNativeMethods.Gdip.GdipAddPathRectangle(new HandleRef(this, nativePath), rect.X, rect.Y, 1201AddEllipse(rect.X, rect.Y, rect.Width, rect.Height); 1654srcRect.X,
commonui\System\Drawing\Advanced\RectangleF.cs (29)
96return new PointF(X, Y); 195return X; 222return X + Width; 266return (comp.X == this.X) && 280return (left.X == right.X 306return this.X <= x && 307x < this.X + this.Width && 334return (this.X <= rect.X) && 335((rect.X + rect.Width) <= (this.X + this.Width)) && 346return unchecked((int)((UInt32)X ^ 395this.X = result.X; 408float x1 = Math.Max(a.X, b.X); 409float x2 = Math.Min(a.X + a.Width, b.X + b.Width); 427return (rect.X < this.X + this.Width) && 428(this.X < (rect.X + rect.Width)) && 440float x1 = Math.Min(a.X, b.X); 441float x2 = Math.Max(a.X + a.Width, b.X + b.Width); 470return new GPRECTF(X, Y, Width, Height); 488return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) +
commonui\System\Drawing\Advanced\TextureBrush.cs (2)
123dstRect.X, 221dstRect.X,
commonui\System\Drawing\Bitmap.cs (1)
531rect.X,
commonui\System\Drawing\Graphics.cs (14)
1278DrawArc(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 1516DrawEllipse(pen, rect.X, rect.Y, rect.Width, rect.Height); 1575DrawPie(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, 1992FillRectangle(brush, rect.X, rect.Y, rect.Width, rect.Height); 2179FillEllipse(brush, rect.X, rect.Y, rect.Width, rect.Height); 2778DrawImage(image, rect.X, rect.Y, rect.Width, rect.Height); 3000srcRect.X, 3054destRect.X, 3058srcRect.X, 3130srcRect.X, 3188srcRect.X, 3977int status = SafeNativeMethods.Gdip.GdipSetClipRect(new HandleRef(this, this.NativeGraphics), rect.X, rect.Y, 4037int status = SafeNativeMethods.Gdip.GdipSetClipRect(new HandleRef(this, this.NativeGraphics), rect.X, rect.Y, 4378int status = SafeNativeMethods.Gdip.GdipIsVisibleRect(new HandleRef(this, this.NativeGraphics), rect.X, rect.Y,
commonui\System\Drawing\Rectangle.cs (3)
300return new Rectangle((int)Math.Ceiling(value.X), 312return new Rectangle((int)value.X, 324return new Rectangle((int)Math.Round(value.X),
commonui\System\Drawing\Region.cs (1)
869int status = SafeNativeMethods.Gdip.GdipIsVisibleRegionRect(new HandleRef(this, nativeRegion), rect.X, rect.Y,
System.Web.DataVisualization (510)
Common\Annotation\AnnotationBase.cs (9)
2064 rect.X - markerSizeRel.Width/2f, 2114 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Y); 2126 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Bottom); 2129 handlePosition = new PointF(rect.X, rect.Bottom); 2132 handlePosition = new PointF(rect.X, rect.Y + rect.Height / 2f); 2393 if(!double.IsNaN(currentPositionRel.X) && !double.IsNaN(currentPositionRel.X)) 2655 relativeX = contentPosition.X * groupScaleX; 2906 double newX = position.X;
Common\Annotation\CalloutAnnotation.cs (62)
670 if( float.IsNaN(rectanglePosition.X) || 942 if(anchorPoint.X < rectanglePosition.X && 948 points[3] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Bottom); 950 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom - size); 951 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom - size); 953 else if(anchorPoint.X >= rectanglePosition.X && 960 points[3] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width / 2f + size, rectanglePositionAbs.Bottom); 962 points[5] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width / 2f - size, rectanglePositionAbs.Bottom); 963 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 973 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 974 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 986 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 996 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 997 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 999 else if(anchorPoint.X >= rectanglePosition.X && 1004 points[1] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f - size, rectanglePositionAbs.Y); 1006 points[3] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f + size, rectanglePositionAbs.Y); 1009 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1011 else if(anchorPoint.X < rectanglePosition.X && 1015 points[1] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Y); 1018 points[4] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1019 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1020 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1022 else if(anchorPoint.X < rectanglePosition.X && 1029 points[3] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1030 points[4] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f + size ); 1032 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f - size ); 1117 rectanglePosition.X + rectanglePosition.Width / 2f, 1137 if(point.X < rectanglePositionAbs.X) 1139 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.X); 1149 if(point.X < rectanglePositionAbs.X) 1151 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.X); 1160 if(anchorPoint.X < rectanglePosition.X) 1162 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.X); 1330 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1334 if(anchorPoint.X < rectanglePosition.X) 1337 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1338 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1354 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1358 if(anchorPoint.X < rectanglePosition.X) 1361 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1362 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1377 if(anchorPoint.X < rectanglePosition.X) 1380 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1381 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1482 PointF textLinePoint1 = new PointF(rectanglePosition.X, rectanglePosition.Bottom); 1492 if(anchorPoint.X < rectanglePosition.X) 1494 lineSecondPoint.X = rectanglePosition.X; 1502 lineSecondPoint.X = rectanglePosition.X + rectanglePosition.Width / 2f; 1598 if(anchorPoint.X < rectanglePosition.X) 1600 textLinePoint1.X = rectanglePosition.X; 1601 textLinePoint2.X = rectanglePosition.X; 1673 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1676 matrix.Translate(position.X, position.Y); 1784 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1787 matrix.Translate(position.X, position.Y); 1878 PathAddLineAsSegments(path, rect.X+cornerRadius, rect.Y, rect.Right-cornerRadius, rect.Y, segments); 1886 PathAddLineAsSegments(path, rect.Right-cornerRadius, rect.Bottom, rect.X + cornerRadius, rect.Bottom, segments); 1888 path.AddArc(rect.X, rect.Bottom-2f*cornerRadius, 2f*cornerRadius, 2f*cornerRadius, 90, 90); 1890 PathAddLineAsSegments(path, rect.X, rect.Bottom-cornerRadius, rect.X, rect.Y+cornerRadius, segments); 1892 path.AddArc(rect.X, rect.Y, 2f*cornerRadius, 2f*cornerRadius, 180, 90);
Common\Annotation\GroupAnnotation.cs (1)
940 float.IsNaN(selectionRect.X) ||
Common\Annotation\ImageAnnotation.cs (1)
544 if( float.IsNaN(rectanglePosition.X) ||
Common\Annotation\PolygonAnnotation.cs (2)
585 if( float.IsNaN(rectanglePosition.X) || 605 pathPoints[pointIndex].X = rectanglePositionAbs.X + pathPoints[pointIndex].X * groupScaleX;
Common\Annotation\RectangleAnnotation.cs (3)
408 if( float.IsNaN(rectanglePosition.X) || 646 if( float.IsNaN(rectanglePosition.X) || 710 rectangle.X + 1,
Common\Annotation\TextAnnotation.cs (7)
439 float.IsNaN(textPosition.X) || 536 textPositionWithSpacing.Width -= (textSpacing.Width + textSpacing.X) * spacingScaleX; 537 textPositionWithSpacing.X += textSpacing.X * spacingScaleX; 567 textPositionWithSpacing.X = textPosition.X; 569 textPositionWithSpacing.Width -= textSpacing.Width/2f + textSpacing.X / 2f; 570 textPositionWithSpacing.X += textSpacing.X / 2f; 980 contentSize.Width += (textSpacing.X + textSpacing.Width) * spacingScaleX;
Common\Borders3D\EmbedBorder.cs (8)
999 screwRect.X = shadowRect.X + offset; 1015 screwRect.X = shadowRect.X + offset; 1030 shadowRect.X - radius, 1060 shadowRect.X + radius*.5f, 1093 graph.DrawEllipse(screwPen, rect.X, rect.Y, rect.Width, rect.Height); 1094graph.DrawLine(screwPen, rect.X + 2 * resolution / 96.0f, rect.Y + rect.Height - 2 * resolution / 96.0f, rect.Right - 2 * resolution / 96.0f, rect.Y + 2 * resolution / 96.0f); 1096graph.DrawEllipse(screwPen, rect.X + 1 * resolution / 96.0f, rect.Y + 1 * resolution / 96.0f, rect.Width, rect.Height); 1097graph.DrawLine(screwPen, rect.X + 3 * resolution / 96.0f, rect.Y + rect.Height - 1 * resolution / 96.0f, rect.Right - 1 * resolution / 96.0f, rect.Y + 3 * resolution / 96.0f);
Common\Borders3D\EmbossBorder.cs (4)
129 if(areasRect.X + areasRect.Width > 100f) 213 shadowRect.X = absolute.X + radius / 3f; 221 shadowRect.X = absolute.X + 3f * resolution / 96.0f; 249 shadowRect.X - radius,
Common\ChartTypes\BarChart.cs (15)
567 rectSize.Width = (float)barSize - rectSize.X; 572 rectSize.Width = (float)barStartPosition - rectSize.X; 582 point.positionRel = new PointF(( barStartPosition < barSize ) ? rectSize.Right : rectSize.X, (float)xPosition); 783 markerPosition.X = rectSize.X; 906rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 914rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 1036rectLabel.X, 1049labelBackPosition.X = rectLabel.X + (rectLabel.Width - valueTextSize.Width) / 2f; 1476 rectSize.Width = (float)barSize - rectSize.X; 1485 rectSize.Width = (float)barStartPosition - rectSize.X; 1675 rectSize.Width = (float)barSize - rectSize.X; 1680 rectSize.Width = (float)barStartPosition - rectSize.X; 1766 markerPosition.X = rectSize.X; 1933rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 2047rotationCenter.X = rectLabel.X + size.Width / 2;
Common\ChartTypes\ColumnChart.cs (7)
513 if(rectSize.X < area.PlotAreaPosition.X || rectSize.Right > area.PlotAreaPosition.Right) 836 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 841 if(rectSize.X < area.PlotAreaPosition.X) 843 rectSize.Width -= area.PlotAreaPosition.X - rectSize.X; 1112 markerPosition.X = intersection.X + intersection.Width / 2f; 1239labelPosition.X = intersection.X + intersection.Width / 2f; 1353labelPosition.X = columnPosition.X + columnPosition.Width / 2f;
Common\ChartTypes\FastPointChart.cs (6)
520 (int)Math.Round(markerBounds.X, 0), 583 points[0].X = markerBounds.X; 585 points[1].X = markerBounds.X + markerBounds.Width/2F; 589 points[3].X = markerBounds.X + markerBounds.Width/2F; 604 points[0].X = markerBounds.X; 606 points[1].X = markerBounds.X + markerBounds.Width/2F;
Common\ChartTypes\FunnelChart.cs (39)
571 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, 585 plotAreaPositionAbs.X, location, 587 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 588 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - this._funnelNeckSize.Width / 2f, 594 plotAreaPositionAbs.X, location + height, 596 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 597 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - this._funnelNeckSize.Width / 2f, 601 startWidth = (float)( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 603 endWidth = (float)( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 608 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, 688 float xCenterPointAbs = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 1002 float xCenterPointAbs = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 1509 !float.IsNaN(labelInfo.Position.X) && 1727 if( (plotAreaPositionAbs.X - position.X) > requiredSpacing.X ) 1729 requiredSpacing.X = plotAreaPositionAbs.X - position.X; 1754 if(requiredSpacing.X > 1f || 1784 float plotAreaCenterXAbs = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 1872 labelInfo.CalloutPoint2.X = labelInfo.Position.X; 1876 labelInfo.Position.X = plotAreaPositionAbs.X - 1966 labelInfo.CalloutPoint2.X = labelInfo.Position.X; 1971 labelInfo.Position.X = plotAreaPositionAbs.X - 2190 plotAreaPosition.X += plotAreaSpacing.X; 2192 plotAreaPosition.Width -= plotAreaSpacing.X + plotAreaSpacing.Width; 2932 plotAreaPositionAbs.X, location - height, 2934 plotAreaPositionAbs.X, plotAreaPositionAbs.Bottom, 2935 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y ); 2936 if(startIntersection.X > (plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f) ) 2938 startIntersection.X = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 2944 plotAreaPositionAbs.X, location, 2946 plotAreaPositionAbs.X, plotAreaPositionAbs.Bottom, 2947 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y ); 2948 if(endIntersection.X > (plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f)) 2950 endIntersection.X = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 2954 startWidth = (float)Math.Abs( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 2956 endWidth = (float)Math.Abs( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 2961 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f,
Common\ChartTypes\PieChart.cs (56)
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 ); 799 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 816 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 820 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 898 RectangleF shadowRect = new RectangleF( rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height ); 1396rect.X = labelRectOver.X; 1406rect.X, 1418labelBackPosition.X = rect.X + (rect.Width - valueTextSize.Width) / 2f; 1818doughnutRect.X = rectangle.X + rectangle.Width * (1 - (100 - doughnutRadius) / 100) / 2; 1827path.AddPie(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, startAngle, sweepAngle); 1841path.AddPie(doughnutRect.X, doughnutRect.Y, doughnutRect.Width, doughnutRect.Width, startAngle, sweepAngle); 1940 float splitPoint = area.X + area.Width / 2f; 1947 if( rect.X < splitPoint ) 1973 if( rect.X < splitPoint ) 1994 if( rect.X < splitPoint ) 2026 if( rect.X >= splitPoint ) 2047 if( rect.X >= splitPoint ) 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 ); 2550 rectangle = new RectangleF( plotingRectangle.X, plotingRectangle.Y, plotingRectangle.Width, plotingRectangle.Height ); 2552 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 2562 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 2606 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 2610 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3080 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3086 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3092 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3098 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3104 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3110 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3116 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3122 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3128 rectangle.X + rectangle.Width / 2F, 3134 rectangle.X + rectangle.Width / 2F, 3140 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3157 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * sizeOut / 2F + rectangle.Width / 2F, 3165 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * ( 1 + doughnutRadius ) / 4F + rectangle.Width / 2F, 3172 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * 0.5F / 2F + rectangle.Width / 2F, 3179 points[(int)PiePoints.TopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3185 points[(int)PiePoints.BottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 3194 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3200 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3206 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3212 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3218 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3224 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3230 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3236 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3243 points[(int)PiePoints.DoughnutTopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3249 points[(int)PiePoints.DoughnutBottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 5353 pieRectangle.X = pieRectangle.X + ( oldWidth - pieRectangle.Width ) / 2F; 5466labelPosition.Width = chartAreaPosition.Right - labelPosition.X; 5485labelPosition.X = chartAreaPosition.X; 5486labelPosition.Width = labelPoint.X - labelPosition.X; 5504labelPosition.X, 5516labelBackPosition.X = labelPosition.X + (labelPosition.Width - valueTextSize.Width) / 2f;
Common\ChartTypes\PointAndFigureChart.cs (1)
818 position.X = rectSize.X;
Common\ChartTypes\StackedBarChart.cs (13)
484 areaPosition.X = (float)Math.Floor(areaPosition.X); 485 areaPosition.Width = right - areaPosition.X; 823 rectSize.Width = (float)height - rectSize.X; 828 rectSize.Width = (float)zero - rectSize.X; 873 rectSize.X < area.PlotAreaPosition.X || 1078labelPosition.X = rectangle.X + rectangle.Width / 2f; 1128labelPosition.X = rectangle.X + sizeFont.Width / 2f; 1576 rectSize.Width = (float)height - rectSize.X; 1581 rectSize.Width = (float)zero - rectSize.X; 1737 rectSize.Width = (float)height - rectSize.X; 1742 rectSize.Width = (float)zero - rectSize.X; 1889rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 1960rotationCenter.X = rectLabel.X + size.Width / 2;
Common\ChartTypes\StackedColumnChart.cs (8)
490 areaPosition.X = (float)Math.Floor(areaPosition.X); 491 areaPosition.Width = right - areaPosition.X; 896 if(rectSize.X < area.PlotAreaPosition.X || 1158labelPosition.X = rectangle.X + rectangle.Width / 2f; 1650 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 1655 if(rectSize.X < area.PlotAreaPosition.X) 1657 rectSize.Width -= area.PlotAreaPosition.X - rectSize.X; 1874labelPosition.X = rectangle.X + rectangle.Width / 2f;
Common\ChartTypes\StockChart.cs (3)
834 new PointF(rect.X, rect.Y), 1634 points[0] = new Point3D(rect.X, rect.Y, zPosition + depth/2f); 1664 new PointF(rect.X, rect.Y),
Common\General\Axis.cs (6)
1962 new PointF(transformedTitlePosition.X, transformedTitlePosition.Y), 2008center.X = titlePosition.X + titlePosition.Width / 2F; 2080PointF endPoint = new PointF(rect.X + rect.Width / 2f, rect.Y); 3628maxLabelSize = plotArea.X - ChartArea.Position.X; 5303rect.Width = (float)Math.Max(fromPosition, toPosition) - rect.X; 5551labelPosition.X = labelPosition.X + labelPosition.Width / 2f - width / 2f;
Common\General\AxisScale.cs (2)
1832 paintAreaPositionRight = paintAreaPosition.X + paintAreaPosition.Width; 1895 position = paintAreaPosition.X + position;
Common\General\AxisScaleSegments.cs (9)
554 float startX = breakLinePosition.X; 578 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 605 float startX = breakLinePosition.X; 630 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 658 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y); 662 path.AddLine(breakLinePosition.X, breakLinePosition.Bottom, breakLinePosition.Right, breakLinePosition.Bottom); 669 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.X, breakLinePosition.Bottom); 718 breakPosition.Width = (float)Math.Abs(breakPosition.X - breakPosition.Width);
Common\General\Chart.cs (10)
2200 areaPosition.X = chartAreasRectangle.X + column * (chartAreasRectangle.Width / areaColumns) + elementSpacing; 2210 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height); 3109 if(area.PlotAreaPosition.X > areaPlotPosition.X) 3111 areaPlotPosition.X += area.PlotAreaPosition.X - areaPlotPosition.X; 3112 areaPlotPosition.Width -= area.PlotAreaPosition.X - areaPlotPosition.X; 3148 rect.X = areaPlotPosition.X; 3158 area.PlotAreaPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3161 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 3165 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3223 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height);
Common\General\ChartArea.cs (14)
1267this.Position.SetPositionNoAuto(this.originalAreaPosition.X, this.originalAreaPosition.Y, this.originalAreaPosition.Width, this.originalAreaPosition.Height); 1274this.InnerPlotPosition.SetPositionNoAuto(this.originalInnerPlotPosition.X, this.originalInnerPlotPosition.Y, this.originalInnerPlotPosition.Width, this.originalInnerPlotPosition.Height); 1632 axisPosition = plottingRect.X; 1715rectLabelSideSpacing.X = (float)Math.Max(offset, rectLabelSideSpacing.X); 1774if (rectLabelSideSpacing.X > 0 && rectLabelSideSpacing.X > plottingRect.X - Position.X) 1776float delta = (plottingRect.X - Position.X) - rectLabelSideSpacing.X; 1825 this.circularCenter = new PointF(plottingRect.X + plottingRect.Width/2f, plottingRect.Y + plottingRect.Height/2f); 1844 (float)Math.Round((plottingRect.X - Position.X) / (Position.Width / 100F), 5), 2158currentAxis.paintAreaPositionRight = currentAxis.paintAreaPosition.X + currentAxis.paintAreaPosition.Width; 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y);
Common\General\ChartArea3D.cs (12)
1313 points[0] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1314 points[1] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1319 points[2] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1325 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1326 points[5] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1331 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1339 points[0] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1345 points[2] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1346 points[3] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1351 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1357 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1358 points[7] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition );
Common\General\ChartGraphics.cs (116)
486 RectangleF tempRect = new RectangleF(rectangle.X,rectangle.Y,rectangle.Width,rectangle.Height); 626 tempPoints[0] = new PointF(rect.X + rect.Width/2f, (outside == true) ? rect.Y : rect.Y + rect.Height/4f); 628 matrix.RotateAt(pointIndex*(360f/(numberOfCorners*2f)), new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f)); 748new Rectangle((int)rect.X + shadowSize, (int)rect.Y + shadowSize, (int)rect.Width, (int)rect.Height), 756new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height), 847path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 891this.DrawRectangle(new Pen(markerBorderColor, markerBorderSize), (int)Math.Round(rect.X, 0), (int)Math.Round(rect.Y, 0), (int)Math.Round(rect.Width, 0), (int)Math.Round(rect.Height, 0)); 1006points[0].X = rect.X; 1008points[1].X = rect.X + rect.Width / 2F; 1012points[3].X = rect.X + rect.Width / 2F; 1061points[0].X = rect.X; 1063points[1].X = rect.X + rect.Width / 2F; 1500 rotationPoint = new PointF(backPositionAbs.X + backPositionAbs.Width/2f, backPositionAbs.Y + backPositionAbs.Height/2f); 1541 backPositionAbs.X, 1856rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1861rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1872rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1877newRect.X = absPosition.X + absPosition.Width / 2F; 1928rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1994labelRect.X = absPosition.X; 1998labelRect.X = absPosition.X + absPosition.Width / 2F - labelSize.Width / 2F; 2047boundaryRect.Width += boundaryRect.X; 2052boundaryRect.Width = this._common.Width - boundaryRect.X; 2078absPosition.X = labelRect.X + sizeChange; 2086absPosition.X = labelRect.X; 2093absPosition.X = labelRect.X; 2104absPosition.X = labelRect.X; 2290absPosition.X + (absPosition.Width - imageAbsSize.Width - labelSize.Width) / 2, 2310imageRect.X = absPosition.X + (absPosition.Width - imageAbsSize.Width - labelSize.Width) / 2; 2318imageRect.X = absPosition.X; 2398 PointF centerNotRound = new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F); 2553 Point center = Point.Round(new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F)); 2781 rotationCenter.X = rect.X + size.Width / 2; 2874 gradientRect.Width = rect.Right - gradientRect.X; 3045 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size); 3046 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3051 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f); 3069 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size); 3070 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.Right, gradientRect.Y); 3092 rect.X + rect.Width/2f, 3094 rect.X + rect.Width/2f, 3101 rect.X + size, 3103 rect.X + size, 3116 rect.X + rect.Width/2f, 3118 rect.X + rect.Width/2f, 3125 rect.X + size, 3127 rect.X + size, 3139 path.AddLine(gradientRect.X, gradientRect.Bottom, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size); 3140 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3144 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f); 3145 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.X, gradientRect.Bottom); 3448 fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3456fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3462 rect.X + borderWidth, 3534 imageRect.X = fillRect.X; 3563 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 3595 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 3669 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 3759offset.X = absolute.X + shadowOffset; 3781 offset.X = absolute.X + shadowOffset - 1; 3803 path.AddLine(offset.X+radiusX, offset.Y, offset.Right-radiusX, offset.Y); 3807 path.AddLine(offset.Right-radiusX, offset.Bottom, offset.X + radiusX, offset.Bottom); 3808 path.AddArc(offset.X, offset.Bottom-2f*radiusY, 2f*radiusX, 2f*radiusY, 90, 90); 3809 path.AddLine(offset.X, offset.Bottom-radiusY, offset.X, offset.Y+radiusY); 3810 path.AddArc(offset.X, offset.Y, 2f*radiusX, 2f*radiusY, 180, 90); 3814 path.AddLine(offset.X+radius, offset.Y, offset.Right-radius, offset.Y); 3818 path.AddLine(offset.Right-radius, offset.Bottom, offset.X + radius, offset.Bottom); 3819 path.AddArc(offset.X, offset.Bottom-2f*radius, 2f*radius, 2f*radius, 90, 90); 3820 path.AddLine(offset.X, offset.Bottom-radius, offset.X, offset.Y+radius); 3821 path.AddArc(offset.X, offset.Y, 2f*radius, 2f*radius, 180, 90); 3830 shadowBrush.CenterPoint = new PointF(offset.X + offset.Width/2f, offset.Y + offset.Height/2f); 3861 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3862 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 3934 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3935 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 4193 fillRect = new RectangleF( rect.X + borderWidth, rect.Y + borderWidth, rect.Width - borderWidth * 2, rect.Height - borderWidth * 2 ); 4215 imageRect.X = fillRect.X; 4244 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4266 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1); 4270 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4281 this.FillRectangle( backBrush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4283 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4290 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4292 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 4511 imageRect.X = fillRect.X; 4540 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4568 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4654 relative.X = rectangle.X * 100F / ((float)(_width - 1)); 4745 absolute.X = rectangle.X * (_width - 1) / 100F; 4791 path.AddLine(rect.X+cornerRadius[0], rect.Y, rect.Right-cornerRadius[1], rect.Y); 4795 path.AddLine(rect.Right-cornerRadius[4], rect.Bottom, rect.X + cornerRadius[5], rect.Bottom); 4796 path.AddArc(rect.X, rect.Bottom-2f*cornerRadius[6], 2f*cornerRadius[5], 2f*cornerRadius[6], 90, 90); 4797 path.AddLine(rect.X, rect.Bottom-cornerRadius[6], rect.X, rect.Y+cornerRadius[7]); 4798 path.AddArc(rect.X, rect.Y, 2f*cornerRadius[0], 2f*cornerRadius[7], 180, 90); 4824 shadowBrush.CenterPoint = new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f); 5034path.AddPie(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle); 5065path.AddArc(absRect.X + absRect.Width * doughnutRadius / 200 - 1, absRect.Y + absRect.Height * doughnutRadius / 200 - 1, absRect.Width - absRect.Width * doughnutRadius / 100 + 2, absRect.Height - absRect.Height * doughnutRadius / 100 + 2, startAngle, sweepAngle); 5066path.AddArc(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle + sweepAngle, -sweepAngle); 5096 this.FillPie( fillBrush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5108 this.DrawPie( borderPen, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5155 gradientPath.X + position.Width * doughnutRadius /200 - 1 - shadowSize, 5161 path.AddArc( gradientPath.X, gradientPath.Y, gradientPath.Width, gradientPath.Height, startAngle + sweepAngle, -sweepAngle ); 5207 path.AddArc( position.X + shadowSize, position.Y + shadowSize, position.Width - shadowSize * 2f, position.Height - shadowSize * 2f, startAngle, sweepAngle ); 5208 path.AddArc( position.X, position.Y, position.Width, position.Height, startAngle + sweepAngle, -sweepAngle ); 5244 path.AddArc( innerPosition.X + shadowSize, innerPosition.Y + shadowSize, innerPosition.Width - 2f * shadowSize, innerPosition.Height - 2f * shadowSize, startAngle, sweepAngle ); 5245 path.AddArc( innerPosition.X, innerPosition.Y, innerPosition.Width, innerPosition.Height, startAngle + sweepAngle, -sweepAngle ); 5284 path.AddEllipse( absRect.X, absRect.Y, absRect.Width, absRect.Height ); 5303 this.FillPie( brush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle );
Common\General\ChartGraphics3D.cs (26)
744path.AddArc(pieBottomRectangle.X, pieBottomRectangle.Y, pieBottomRectangle.Width, pieBottomRectangle.Height, startAngle, sweepAngle); 757path.AddArc(pieTopRectangle.X, pieTopRectangle.Y, pieTopRectangle.Width, pieTopRectangle.Height, startAngle + sweepAngle, -sweepAngle); 865path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 975pieDoughnutRectangle.X = pieRectangle.X + pieRectangle.Width * (1F - doughnutRadius) / 2F; 997path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 1006path.AddArc(pieDoughnutRectangle.X, pieDoughnutRectangle.Y, pieDoughnutRectangle.Width, pieDoughnutRectangle.Height, startAngle + sweepAngle, -sweepAngle); 2866 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 2867 cubePoints[1] = new Point3D( position.X, position.Bottom, positionZ + depth ); 2872 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 2873 cubePoints[5] = new Point3D( position.X, position.Bottom, positionZ ); 3109 gradientPoints[4] = new Point3D( position.X + position.Width / 2f, position.Top + sizeRel.Height, positionZ + depth ); 3110 gradientPoints[5] = new Point3D( position.X + position.Width / 2f, position.Bottom - sizeRel.Height, positionZ + depth ); 3114 gradientPoints[4] = new Point3D( position.X + sizeRel.Width, position.Top + position.Height / 2f, positionZ + depth ); 3564path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 3734 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 3735 cubePoints[1] = new Point3D( position.X, position.Bottom, positionZ + depth ); 3740 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 3741 cubePoints[5] = new Point3D( position.X, position.Bottom, positionZ ); 3979 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3980 cubePoints[1] = new Point3D( position.X, position.Bottom, positionZ + depth / 2f ); 3984 float middleXValue = position.X + position.Width / 2f; 3993 cubePoints[1] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3994 cubePoints[2] = new Point3D( position.X, position.Bottom, positionZ + depth / 2f ); 3999 cubePoints[5] = new Point3D( position.X, middleYValue, positionZ + depth ); 4000 cubePoints[6] = new Point3D( position.X, middleYValue, positionZ ); 4175 boundsRectMiddlePoint.X = boundsRect.X + boundsRect.Width/2f;
Common\General\GridTickMarks.cs (2)
1472 first.X = plotArea.X; 1570 first.X = plotArea.X;
Common\General\ImageMap.cs (1)
273coord[0] = rect.X;
Common\General\Label.cs (22)
1281 new PointF(labelRect.X, labelRect.Bottom) 1747rect.Width = (float)Math.Max(fromPosition, toPosition) - rect.X; 1837 rectLabels.Width = (float)Math.Max(rectLabels.Width, rectLabels.X - labelsAxis.PlotAreaPosition.X); 1861 rectLabels.Width = (float)Math.Max(rectLabels.Width, labelsAxis.PlotAreaPosition.Right - rectLabels.X); 2261rect.Width = (float)Math.Max(fromPosition, toPosition) - rect.X; 2308rect.Width = rectPoints[1].X - rect.X; 2312rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2313rectPoints[1] = new Point3D(rect.X, rect.Y + rect.Height / 2f, labelsZPosition); 2314rectPoints[2] = new Point3D(rect.X, rect.Bottom, labelsZPosition); 2324rectPoints[0] = new Point3D(rect.X, rect.Bottom, labelsZPosition); 2325rectPoints[1] = new Point3D(rect.X + rect.Width / 2f, rect.Bottom, labelsZPosition); 2332rect.Width = rectPoints[2].X - rect.X; 2341rect.Width = rightLabelsRect.Right - rect.X; 2348rect.X = rightLabelsRect.X; 2349rect.Width = rectPoints[1].X - rightLabelsRect.X; 2355rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2356rectPoints[1] = new Point3D(rect.X + rect.Width / 2f, rect.Y, labelsZPosition); 2363rect.Width = rectPoints[2].X - rect.X; 2373rect.Width = rightLabelsRect.Right - rect.X; 2386rect.X = rightLabelsRect.X; 2387rect.Width = rectPoints[1].X - rightLabelsRect.X; 2465labelPositionPoints[0] = new Point3D(initialRect.X, initialRect.Bottom - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment, labelsZPosition);
Common\General\Legend.cs (7)
1125 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1133 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1145 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1153 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1161 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1199 this.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height); 4983 legend.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height);
Common\General\LegendColumns.cs (2)
1947this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height))); 1966this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
Common\General\Matrix3D.cs (1)
245 _translateX = innerPlotRectangle.X+innerPlotRectangle.Width/2;
Common\General\SmartLabels.cs (16)
939 graph.DrawRectangle(calloutPen, labelRectAbs.X, labelRectAbs.Y, labelRectAbs.Width, labelRectAbs.Height); 947 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Top, labelRectAbs.X, labelRectAbs.Bottom); 957 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Top, labelRectAbs.Right, labelRectAbs.Top); 962 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Bottom, labelRectAbs.Right, labelRectAbs.Bottom); 1050 if(labelPosition.X < 0f || labelPosition.Y < 0f || 1077 labelPosition.X + labelPosition.Width/2f, 1096 !areaPath.IsVisible(new PointF(labelPosition.X, labelPosition.Bottom)) ) 1115 labelPosition.X + labelPosition.Width/2f, 1174 labelPosition.X + labelPosition.Width / 2f, 1224 if(point1.X >= rect.X && point1.X <= rect.Right) 1244 if(point1.X < rect.X && point2.X < rect.X) 1259 if(point1.X < rect.X && point2.X < rect.X) 1294 intersection = CalloutAnnotation.GetIntersectionX(point1, point2, rect.X);
Common\General\StripLine.cs (5)
367 rect.X = plotAreaPosition.X; 380 rect.Width = (float)Math.Max(pos1, pos2) - rect.X; 442 point1.X = plotAreaPosition.X; 626 rect.Width = point2.X - rect.X; 725rotationCenter.X = rect.X + size.Width / 2 + sizeBorder.Width;
Common\General\Title.cs (13)
1414 titlePosition.X = titlePosition.X - titlePosition.Width; 1420 titlePosition.X = titlePosition.X - titlePosition.Width/2f; 1486 titlePosition.X, 1515 exactTitleRect.X = titlePosition.X + 1649center.X = absPosition.X + absPosition.Width / 2F; 1847 frameTitlePosition.X + elementSpacing, 1906 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1907 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1920 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1921 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1932 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1972 this.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height); 2137 title.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height);
Common\Utilities\ElementPosition.cs (1)
216 this._x = rect.X;
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
1163float startX = isContainerRTL ? displayRectF.Right : displayRectF.X; 1180startX = isContainerRTL ? displayRectF.Right : displayRectF.X;
System.Windows.Forms.DataVisualization (511)
Common\Annotation\AnnotationBase.cs (9)
2064 rect.X - markerSizeRel.Width/2f, 2114 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Y); 2126 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Bottom); 2129 handlePosition = new PointF(rect.X, rect.Bottom); 2132 handlePosition = new PointF(rect.X, rect.Y + rect.Height / 2f); 2393 if(!double.IsNaN(currentPositionRel.X) && !double.IsNaN(currentPositionRel.X)) 2655 relativeX = contentPosition.X * groupScaleX; 2906 double newX = position.X;
Common\Annotation\CalloutAnnotation.cs (62)
670 if( float.IsNaN(rectanglePosition.X) || 942 if(anchorPoint.X < rectanglePosition.X && 948 points[3] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Bottom); 950 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom - size); 951 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom - size); 953 else if(anchorPoint.X >= rectanglePosition.X && 960 points[3] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width / 2f + size, rectanglePositionAbs.Bottom); 962 points[5] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width / 2f - size, rectanglePositionAbs.Bottom); 963 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 973 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 974 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 986 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 996 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 997 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 999 else if(anchorPoint.X >= rectanglePosition.X && 1004 points[1] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f - size, rectanglePositionAbs.Y); 1006 points[3] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f + size, rectanglePositionAbs.Y); 1009 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1011 else if(anchorPoint.X < rectanglePosition.X && 1015 points[1] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Y); 1018 points[4] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1019 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1020 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1022 else if(anchorPoint.X < rectanglePosition.X && 1029 points[3] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1030 points[4] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f + size ); 1032 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f - size ); 1117 rectanglePosition.X + rectanglePosition.Width / 2f, 1137 if(point.X < rectanglePositionAbs.X) 1139 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.X); 1149 if(point.X < rectanglePositionAbs.X) 1151 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.X); 1160 if(anchorPoint.X < rectanglePosition.X) 1162 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.X); 1330 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1334 if(anchorPoint.X < rectanglePosition.X) 1337 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1338 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1354 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1358 if(anchorPoint.X < rectanglePosition.X) 1361 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1362 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1377 if(anchorPoint.X < rectanglePosition.X) 1380 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1381 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1482 PointF textLinePoint1 = new PointF(rectanglePosition.X, rectanglePosition.Bottom); 1492 if(anchorPoint.X < rectanglePosition.X) 1494 lineSecondPoint.X = rectanglePosition.X; 1502 lineSecondPoint.X = rectanglePosition.X + rectanglePosition.Width / 2f; 1598 if(anchorPoint.X < rectanglePosition.X) 1600 textLinePoint1.X = rectanglePosition.X; 1601 textLinePoint2.X = rectanglePosition.X; 1673 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1676 matrix.Translate(position.X, position.Y); 1784 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1787 matrix.Translate(position.X, position.Y); 1878 PathAddLineAsSegments(path, rect.X+cornerRadius, rect.Y, rect.Right-cornerRadius, rect.Y, segments); 1886 PathAddLineAsSegments(path, rect.Right-cornerRadius, rect.Bottom, rect.X + cornerRadius, rect.Bottom, segments); 1888 path.AddArc(rect.X, rect.Bottom-2f*cornerRadius, 2f*cornerRadius, 2f*cornerRadius, 90, 90); 1890 PathAddLineAsSegments(path, rect.X, rect.Bottom-cornerRadius, rect.X, rect.Y+cornerRadius, segments); 1892 path.AddArc(rect.X, rect.Y, 2f*cornerRadius, 2f*cornerRadius, 180, 90);
Common\Annotation\GroupAnnotation.cs (1)
940 float.IsNaN(selectionRect.X) ||
Common\Annotation\ImageAnnotation.cs (1)
544 if( float.IsNaN(rectanglePosition.X) ||
Common\Annotation\PolygonAnnotation.cs (2)
585 if( float.IsNaN(rectanglePosition.X) || 605 pathPoints[pointIndex].X = rectanglePositionAbs.X + pathPoints[pointIndex].X * groupScaleX;
Common\Annotation\RectangleAnnotation.cs (3)
408 if( float.IsNaN(rectanglePosition.X) || 646 if( float.IsNaN(rectanglePosition.X) || 710 rectangle.X + 1,
Common\Annotation\TextAnnotation.cs (7)
439 float.IsNaN(textPosition.X) || 536 textPositionWithSpacing.Width -= (textSpacing.Width + textSpacing.X) * spacingScaleX; 537 textPositionWithSpacing.X += textSpacing.X * spacingScaleX; 567 textPositionWithSpacing.X = textPosition.X; 569 textPositionWithSpacing.Width -= textSpacing.Width/2f + textSpacing.X / 2f; 570 textPositionWithSpacing.X += textSpacing.X / 2f; 980 contentSize.Width += (textSpacing.X + textSpacing.Width) * spacingScaleX;
Common\Borders3D\EmbedBorder.cs (8)
999 screwRect.X = shadowRect.X + offset; 1015 screwRect.X = shadowRect.X + offset; 1030 shadowRect.X - radius, 1060 shadowRect.X + radius*.5f, 1093 graph.DrawEllipse(screwPen, rect.X, rect.Y, rect.Width, rect.Height); 1094graph.DrawLine(screwPen, rect.X + 2 * resolution / 96.0f, rect.Y + rect.Height - 2 * resolution / 96.0f, rect.Right - 2 * resolution / 96.0f, rect.Y + 2 * resolution / 96.0f); 1096graph.DrawEllipse(screwPen, rect.X + 1 * resolution / 96.0f, rect.Y + 1 * resolution / 96.0f, rect.Width, rect.Height); 1097graph.DrawLine(screwPen, rect.X + 3 * resolution / 96.0f, rect.Y + rect.Height - 1 * resolution / 96.0f, rect.Right - 1 * resolution / 96.0f, rect.Y + 3 * resolution / 96.0f);
Common\Borders3D\EmbossBorder.cs (4)
129 if(areasRect.X + areasRect.Width > 100f) 213 shadowRect.X = absolute.X + radius / 3f; 221 shadowRect.X = absolute.X + 3f * resolution / 96.0f; 249 shadowRect.X - radius,
Common\ChartTypes\BarChart.cs (15)
567 rectSize.Width = (float)barSize - rectSize.X; 572 rectSize.Width = (float)barStartPosition - rectSize.X; 582 point.positionRel = new PointF(( barStartPosition < barSize ) ? rectSize.Right : rectSize.X, (float)xPosition); 783 markerPosition.X = rectSize.X; 906rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 914rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 1036rectLabel.X, 1049labelBackPosition.X = rectLabel.X + (rectLabel.Width - valueTextSize.Width) / 2f; 1476 rectSize.Width = (float)barSize - rectSize.X; 1485 rectSize.Width = (float)barStartPosition - rectSize.X; 1675 rectSize.Width = (float)barSize - rectSize.X; 1680 rectSize.Width = (float)barStartPosition - rectSize.X; 1766 markerPosition.X = rectSize.X; 1933rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 2047rotationCenter.X = rectLabel.X + size.Width / 2;
Common\ChartTypes\ColumnChart.cs (7)
513 if(rectSize.X < area.PlotAreaPosition.X || rectSize.Right > area.PlotAreaPosition.Right) 836 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 841 if(rectSize.X < area.PlotAreaPosition.X) 843 rectSize.Width -= area.PlotAreaPosition.X - rectSize.X; 1112 markerPosition.X = intersection.X + intersection.Width / 2f; 1239labelPosition.X = intersection.X + intersection.Width / 2f; 1353labelPosition.X = columnPosition.X + columnPosition.Width / 2f;
Common\ChartTypes\FastPointChart.cs (6)
520 (int)Math.Round(markerBounds.X, 0), 583 points[0].X = markerBounds.X; 585 points[1].X = markerBounds.X + markerBounds.Width/2F; 589 points[3].X = markerBounds.X + markerBounds.Width/2F; 604 points[0].X = markerBounds.X; 606 points[1].X = markerBounds.X + markerBounds.Width/2F;
Common\ChartTypes\FunnelChart.cs (39)
571 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, 585 plotAreaPositionAbs.X, location, 587 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 588 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - this._funnelNeckSize.Width / 2f, 594 plotAreaPositionAbs.X, location + height, 596 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 597 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - this._funnelNeckSize.Width / 2f, 601 startWidth = (float)( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 603 endWidth = (float)( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 608 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, 688 float xCenterPointAbs = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 1002 float xCenterPointAbs = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 1509 !float.IsNaN(labelInfo.Position.X) && 1727 if( (plotAreaPositionAbs.X - position.X) > requiredSpacing.X ) 1729 requiredSpacing.X = plotAreaPositionAbs.X - position.X; 1754 if(requiredSpacing.X > 1f || 1784 float plotAreaCenterXAbs = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 1872 labelInfo.CalloutPoint2.X = labelInfo.Position.X; 1876 labelInfo.Position.X = plotAreaPositionAbs.X - 1966 labelInfo.CalloutPoint2.X = labelInfo.Position.X; 1971 labelInfo.Position.X = plotAreaPositionAbs.X - 2190 plotAreaPosition.X += plotAreaSpacing.X; 2192 plotAreaPosition.Width -= plotAreaSpacing.X + plotAreaSpacing.Width; 2932 plotAreaPositionAbs.X, location - height, 2934 plotAreaPositionAbs.X, plotAreaPositionAbs.Bottom, 2935 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y ); 2936 if(startIntersection.X > (plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f) ) 2938 startIntersection.X = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 2944 plotAreaPositionAbs.X, location, 2946 plotAreaPositionAbs.X, plotAreaPositionAbs.Bottom, 2947 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y ); 2948 if(endIntersection.X > (plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f)) 2950 endIntersection.X = plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f; 2954 startWidth = (float)Math.Abs( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 2956 endWidth = (float)Math.Abs( plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f - 2961 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f,
Common\ChartTypes\PieChart.cs (56)
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 ); 799 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 816 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 820 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 898 RectangleF shadowRect = new RectangleF( rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height ); 1396rect.X = labelRectOver.X; 1406rect.X, 1418labelBackPosition.X = rect.X + (rect.Width - valueTextSize.Width) / 2f; 1818doughnutRect.X = rectangle.X + rectangle.Width * (1 - (100 - doughnutRadius) / 100) / 2; 1827path.AddPie(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, startAngle, sweepAngle); 1841path.AddPie(doughnutRect.X, doughnutRect.Y, doughnutRect.Width, doughnutRect.Width, startAngle, sweepAngle); 1940 float splitPoint = area.X + area.Width / 2f; 1947 if( rect.X < splitPoint ) 1973 if( rect.X < splitPoint ) 1994 if( rect.X < splitPoint ) 2026 if( rect.X >= splitPoint ) 2047 if( rect.X >= splitPoint ) 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 ); 2550 rectangle = new RectangleF( plotingRectangle.X, plotingRectangle.Y, plotingRectangle.Width, plotingRectangle.Height ); 2552 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 2562 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 2606 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 2610 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3080 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3086 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3092 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3098 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3104 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3110 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3116 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3122 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3128 rectangle.X + rectangle.Width / 2F, 3134 rectangle.X + rectangle.Width / 2F, 3140 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F, 3157 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * sizeOut / 2F + rectangle.Width / 2F, 3165 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * ( 1 + doughnutRadius ) / 4F + rectangle.Width / 2F, 3172 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * 0.5F / 2F + rectangle.Width / 2F, 3179 points[(int)PiePoints.TopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3185 points[(int)PiePoints.BottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 3194 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3200 rectangle.X + (float)Math.Cos( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3206 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3212 rectangle.X + (float)Math.Cos( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3218 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3224 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3230 rectangle.X + (float)Math.Cos( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3236 rectangle.X + (float)Math.Cos( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F, 3243 points[(int)PiePoints.DoughnutTopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3249 points[(int)PiePoints.DoughnutBottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 5353 pieRectangle.X = pieRectangle.X + ( oldWidth - pieRectangle.Width ) / 2F; 5466labelPosition.Width = chartAreaPosition.Right - labelPosition.X; 5485labelPosition.X = chartAreaPosition.X; 5486labelPosition.Width = labelPoint.X - labelPosition.X; 5504labelPosition.X, 5516labelBackPosition.X = labelPosition.X + (labelPosition.Width - valueTextSize.Width) / 2f;
Common\ChartTypes\PointAndFigureChart.cs (1)
818 position.X = rectSize.X;
Common\ChartTypes\StackedBarChart.cs (13)
484 areaPosition.X = (float)Math.Floor(areaPosition.X); 485 areaPosition.Width = right - areaPosition.X; 823 rectSize.Width = (float)height - rectSize.X; 828 rectSize.Width = (float)zero - rectSize.X; 873 rectSize.X < area.PlotAreaPosition.X || 1078labelPosition.X = rectangle.X + rectangle.Width / 2f; 1128labelPosition.X = rectangle.X + sizeFont.Width / 2f; 1576 rectSize.Width = (float)height - rectSize.X; 1581 rectSize.Width = (float)zero - rectSize.X; 1737 rectSize.Width = (float)height - rectSize.X; 1742 rectSize.Width = (float)zero - rectSize.X; 1889rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 1960rotationCenter.X = rectLabel.X + size.Width / 2;
Common\ChartTypes\StackedColumnChart.cs (8)
490 areaPosition.X = (float)Math.Floor(areaPosition.X); 491 areaPosition.Width = right - areaPosition.X; 896 if(rectSize.X < area.PlotAreaPosition.X || 1158labelPosition.X = rectangle.X + rectangle.Width / 2f; 1650 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 1655 if(rectSize.X < area.PlotAreaPosition.X) 1657 rectSize.Width -= area.PlotAreaPosition.X - rectSize.X; 1874labelPosition.X = rectangle.X + rectangle.Width / 2f;
Common\ChartTypes\StockChart.cs (3)
834 new PointF(rect.X, rect.Y), 1634 points[0] = new Point3D(rect.X, rect.Y, zPosition + depth/2f); 1664 new PointF(rect.X, rect.Y),
Common\General\Axis.cs (6)
1962 new PointF(transformedTitlePosition.X, transformedTitlePosition.Y), 2008center.X = titlePosition.X + titlePosition.Width / 2F; 2080PointF endPoint = new PointF(rect.X + rect.Width / 2f, rect.Y); 3628maxLabelSize = plotArea.X - ChartArea.Position.X; 5303rect.Width = (float)Math.Max(fromPosition, toPosition) - rect.X; 5551labelPosition.X = labelPosition.X + labelPosition.Width / 2f - width / 2f;
Common\General\AxisScale.cs (2)
1832 paintAreaPositionRight = paintAreaPosition.X + paintAreaPosition.Width; 1895 position = paintAreaPosition.X + position;
Common\General\AxisScaleSegments.cs (9)
554 float startX = breakLinePosition.X; 578 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 605 float startX = breakLinePosition.X; 630 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 658 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y); 662 path.AddLine(breakLinePosition.X, breakLinePosition.Bottom, breakLinePosition.Right, breakLinePosition.Bottom); 669 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.X, breakLinePosition.Bottom); 718 breakPosition.Width = (float)Math.Abs(breakPosition.X - breakPosition.Width);
Common\General\Chart.cs (10)
2200 areaPosition.X = chartAreasRectangle.X + column * (chartAreasRectangle.Width / areaColumns) + elementSpacing; 2210 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height); 3109 if(area.PlotAreaPosition.X > areaPlotPosition.X) 3111 areaPlotPosition.X += area.PlotAreaPosition.X - areaPlotPosition.X; 3112 areaPlotPosition.Width -= area.PlotAreaPosition.X - areaPlotPosition.X; 3148 rect.X = areaPlotPosition.X; 3158 area.PlotAreaPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3161 rect.X = (rect.X - area.Position.X) / area.Position.Width * 100f; 3165 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3223 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height);
Common\General\ChartArea.cs (14)
1267this.Position.SetPositionNoAuto(this.originalAreaPosition.X, this.originalAreaPosition.Y, this.originalAreaPosition.Width, this.originalAreaPosition.Height); 1274this.InnerPlotPosition.SetPositionNoAuto(this.originalInnerPlotPosition.X, this.originalInnerPlotPosition.Y, this.originalInnerPlotPosition.Width, this.originalInnerPlotPosition.Height); 1632 axisPosition = plottingRect.X; 1715rectLabelSideSpacing.X = (float)Math.Max(offset, rectLabelSideSpacing.X); 1774if (rectLabelSideSpacing.X > 0 && rectLabelSideSpacing.X > plottingRect.X - Position.X) 1776float delta = (plottingRect.X - Position.X) - rectLabelSideSpacing.X; 1825 this.circularCenter = new PointF(plottingRect.X + plottingRect.Width/2f, plottingRect.Y + plottingRect.Height/2f); 1844 (float)Math.Round((plottingRect.X - Position.X) / (Position.Width / 100F), 5), 2158currentAxis.paintAreaPositionRight = currentAxis.paintAreaPosition.X + currentAxis.paintAreaPosition.Width; 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y);
Common\General\ChartArea3D.cs (12)
1313 points[0] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1314 points[1] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1319 points[2] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1325 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1326 points[5] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1331 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1339 points[0] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1345 points[2] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1346 points[3] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition ); 1351 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1357 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1358 points[7] = new Point3D( plottingRect.X, plottingRect.Bottom, zPosition );
Common\General\ChartGraphics.cs (116)
486 RectangleF tempRect = new RectangleF(rectangle.X,rectangle.Y,rectangle.Width,rectangle.Height); 626 tempPoints[0] = new PointF(rect.X + rect.Width/2f, (outside == true) ? rect.Y : rect.Y + rect.Height/4f); 628 matrix.RotateAt(pointIndex*(360f/(numberOfCorners*2f)), new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f)); 748new Rectangle((int)rect.X + shadowSize, (int)rect.Y + shadowSize, (int)rect.Width, (int)rect.Height), 756new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height), 847path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 891this.DrawRectangle(new Pen(markerBorderColor, markerBorderSize), (int)Math.Round(rect.X, 0), (int)Math.Round(rect.Y, 0), (int)Math.Round(rect.Width, 0), (int)Math.Round(rect.Height, 0)); 1006points[0].X = rect.X; 1008points[1].X = rect.X + rect.Width / 2F; 1012points[3].X = rect.X + rect.Width / 2F; 1061points[0].X = rect.X; 1063points[1].X = rect.X + rect.Width / 2F; 1500 rotationPoint = new PointF(backPositionAbs.X + backPositionAbs.Width/2f, backPositionAbs.Y + backPositionAbs.Height/2f); 1541 backPositionAbs.X, 1856rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1861rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1872rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1877newRect.X = absPosition.X + absPosition.Width / 2F; 1928rotationPoint.X = absPosition.X + absPosition.Width / 2F; 1994labelRect.X = absPosition.X; 1998labelRect.X = absPosition.X + absPosition.Width / 2F - labelSize.Width / 2F; 2047boundaryRect.Width += boundaryRect.X; 2052boundaryRect.Width = this._common.Width - boundaryRect.X; 2078absPosition.X = labelRect.X + sizeChange; 2086absPosition.X = labelRect.X; 2093absPosition.X = labelRect.X; 2104absPosition.X = labelRect.X; 2290absPosition.X + (absPosition.Width - imageAbsSize.Width - labelSize.Width) / 2, 2310imageRect.X = absPosition.X + (absPosition.Width - imageAbsSize.Width - labelSize.Width) / 2; 2318imageRect.X = absPosition.X; 2398 PointF centerNotRound = new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F); 2553 Point center = Point.Round(new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F)); 2781 rotationCenter.X = rect.X + size.Width / 2; 2874 gradientRect.Width = rect.Right - gradientRect.X; 3045 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size); 3046 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3051 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f); 3069 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size); 3070 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.Right, gradientRect.Y); 3092 rect.X + rect.Width/2f, 3094 rect.X + rect.Width/2f, 3101 rect.X + size, 3103 rect.X + size, 3116 rect.X + rect.Width/2f, 3118 rect.X + rect.Width/2f, 3125 rect.X + size, 3127 rect.X + size, 3139 path.AddLine(gradientRect.X, gradientRect.Bottom, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size); 3140 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3144 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f); 3145 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.X, gradientRect.Bottom); 3448 fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3456fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3462 rect.X + borderWidth, 3534 imageRect.X = fillRect.X; 3563 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 3595 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 3669 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 3759offset.X = absolute.X + shadowOffset; 3781 offset.X = absolute.X + shadowOffset - 1; 3803 path.AddLine(offset.X+radiusX, offset.Y, offset.Right-radiusX, offset.Y); 3807 path.AddLine(offset.Right-radiusX, offset.Bottom, offset.X + radiusX, offset.Bottom); 3808 path.AddArc(offset.X, offset.Bottom-2f*radiusY, 2f*radiusX, 2f*radiusY, 90, 90); 3809 path.AddLine(offset.X, offset.Bottom-radiusY, offset.X, offset.Y+radiusY); 3810 path.AddArc(offset.X, offset.Y, 2f*radiusX, 2f*radiusY, 180, 90); 3814 path.AddLine(offset.X+radius, offset.Y, offset.Right-radius, offset.Y); 3818 path.AddLine(offset.Right-radius, offset.Bottom, offset.X + radius, offset.Bottom); 3819 path.AddArc(offset.X, offset.Bottom-2f*radius, 2f*radius, 2f*radius, 90, 90); 3820 path.AddLine(offset.X, offset.Bottom-radius, offset.X, offset.Y+radius); 3821 path.AddArc(offset.X, offset.Y, 2f*radius, 2f*radius, 180, 90); 3830 shadowBrush.CenterPoint = new PointF(offset.X + offset.Width/2f, offset.Y + offset.Height/2f); 3861 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3862 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 3934 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3935 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 4193 fillRect = new RectangleF( rect.X + borderWidth, rect.Y + borderWidth, rect.Width - borderWidth * 2, rect.Height - borderWidth * 2 ); 4215 imageRect.X = fillRect.X; 4244 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4266 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1); 4270 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4281 this.FillRectangle( backBrush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4283 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4290 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4292 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 4511 imageRect.X = fillRect.X; 4540 imageRect.X = fillRect.X + (fillRect.Width - imageRect.Width)/2; 4568 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4654 relative.X = rectangle.X * 100F / ((float)(_width - 1)); 4745 absolute.X = rectangle.X * (_width - 1) / 100F; 4791 path.AddLine(rect.X+cornerRadius[0], rect.Y, rect.Right-cornerRadius[1], rect.Y); 4795 path.AddLine(rect.Right-cornerRadius[4], rect.Bottom, rect.X + cornerRadius[5], rect.Bottom); 4796 path.AddArc(rect.X, rect.Bottom-2f*cornerRadius[6], 2f*cornerRadius[5], 2f*cornerRadius[6], 90, 90); 4797 path.AddLine(rect.X, rect.Bottom-cornerRadius[6], rect.X, rect.Y+cornerRadius[7]); 4798 path.AddArc(rect.X, rect.Y, 2f*cornerRadius[0], 2f*cornerRadius[7], 180, 90); 4824 shadowBrush.CenterPoint = new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f); 5034path.AddPie(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle); 5065path.AddArc(absRect.X + absRect.Width * doughnutRadius / 200 - 1, absRect.Y + absRect.Height * doughnutRadius / 200 - 1, absRect.Width - absRect.Width * doughnutRadius / 100 + 2, absRect.Height - absRect.Height * doughnutRadius / 100 + 2, startAngle, sweepAngle); 5066path.AddArc(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle + sweepAngle, -sweepAngle); 5096 this.FillPie( fillBrush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5108 this.DrawPie( borderPen, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5155 gradientPath.X + position.Width * doughnutRadius /200 - 1 - shadowSize, 5161 path.AddArc( gradientPath.X, gradientPath.Y, gradientPath.Width, gradientPath.Height, startAngle + sweepAngle, -sweepAngle ); 5207 path.AddArc( position.X + shadowSize, position.Y + shadowSize, position.Width - shadowSize * 2f, position.Height - shadowSize * 2f, startAngle, sweepAngle ); 5208 path.AddArc( position.X, position.Y, position.Width, position.Height, startAngle + sweepAngle, -sweepAngle ); 5244 path.AddArc( innerPosition.X + shadowSize, innerPosition.Y + shadowSize, innerPosition.Width - 2f * shadowSize, innerPosition.Height - 2f * shadowSize, startAngle, sweepAngle ); 5245 path.AddArc( innerPosition.X, innerPosition.Y, innerPosition.Width, innerPosition.Height, startAngle + sweepAngle, -sweepAngle ); 5284 path.AddEllipse( absRect.X, absRect.Y, absRect.Width, absRect.Height ); 5303 this.FillPie( brush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle );
Common\General\ChartGraphics3D.cs (26)
744path.AddArc(pieBottomRectangle.X, pieBottomRectangle.Y, pieBottomRectangle.Width, pieBottomRectangle.Height, startAngle, sweepAngle); 757path.AddArc(pieTopRectangle.X, pieTopRectangle.Y, pieTopRectangle.Width, pieTopRectangle.Height, startAngle + sweepAngle, -sweepAngle); 865path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 975pieDoughnutRectangle.X = pieRectangle.X + pieRectangle.Width * (1F - doughnutRadius) / 2F; 997path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 1006path.AddArc(pieDoughnutRectangle.X, pieDoughnutRectangle.Y, pieDoughnutRectangle.Width, pieDoughnutRectangle.Height, startAngle + sweepAngle, -sweepAngle); 2866 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 2867 cubePoints[1] = new Point3D( position.X, position.Bottom, positionZ + depth ); 2872 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 2873 cubePoints[5] = new Point3D( position.X, position.Bottom, positionZ ); 3109 gradientPoints[4] = new Point3D( position.X + position.Width / 2f, position.Top + sizeRel.Height, positionZ + depth ); 3110 gradientPoints[5] = new Point3D( position.X + position.Width / 2f, position.Bottom - sizeRel.Height, positionZ + depth ); 3114 gradientPoints[4] = new Point3D( position.X + sizeRel.Width, position.Top + position.Height / 2f, positionZ + depth ); 3564path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 3734 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 3735 cubePoints[1] = new Point3D( position.X, position.Bottom, positionZ + depth ); 3740 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 3741 cubePoints[5] = new Point3D( position.X, position.Bottom, positionZ ); 3979 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3980 cubePoints[1] = new Point3D( position.X, position.Bottom, positionZ + depth / 2f ); 3984 float middleXValue = position.X + position.Width / 2f; 3993 cubePoints[1] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3994 cubePoints[2] = new Point3D( position.X, position.Bottom, positionZ + depth / 2f ); 3999 cubePoints[5] = new Point3D( position.X, middleYValue, positionZ + depth ); 4000 cubePoints[6] = new Point3D( position.X, middleYValue, positionZ ); 4175 boundsRectMiddlePoint.X = boundsRect.X + boundsRect.Width/2f;
Common\General\GridTickMarks.cs (2)
1472 first.X = plotArea.X; 1570 first.X = plotArea.X;
Common\General\ImageMap.cs (1)
273coord[0] = rect.X;
Common\General\Label.cs (22)
1281 new PointF(labelRect.X, labelRect.Bottom) 1747rect.Width = (float)Math.Max(fromPosition, toPosition) - rect.X; 1837 rectLabels.Width = (float)Math.Max(rectLabels.Width, rectLabels.X - labelsAxis.PlotAreaPosition.X); 1861 rectLabels.Width = (float)Math.Max(rectLabels.Width, labelsAxis.PlotAreaPosition.Right - rectLabels.X); 2261rect.Width = (float)Math.Max(fromPosition, toPosition) - rect.X; 2308rect.Width = rectPoints[1].X - rect.X; 2312rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2313rectPoints[1] = new Point3D(rect.X, rect.Y + rect.Height / 2f, labelsZPosition); 2314rectPoints[2] = new Point3D(rect.X, rect.Bottom, labelsZPosition); 2324rectPoints[0] = new Point3D(rect.X, rect.Bottom, labelsZPosition); 2325rectPoints[1] = new Point3D(rect.X + rect.Width / 2f, rect.Bottom, labelsZPosition); 2332rect.Width = rectPoints[2].X - rect.X; 2341rect.Width = rightLabelsRect.Right - rect.X; 2348rect.X = rightLabelsRect.X; 2349rect.Width = rectPoints[1].X - rightLabelsRect.X; 2355rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2356rectPoints[1] = new Point3D(rect.X + rect.Width / 2f, rect.Y, labelsZPosition); 2363rect.Width = rectPoints[2].X - rect.X; 2373rect.Width = rightLabelsRect.Right - rect.X; 2386rect.X = rightLabelsRect.X; 2387rect.Width = rectPoints[1].X - rightLabelsRect.X; 2465labelPositionPoints[0] = new Point3D(initialRect.X, initialRect.Bottom - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment, labelsZPosition);
Common\General\Legend.cs (7)
1125 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1133 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1145 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1153 legendPosition.X = chartAreasRectangle.X + (chartAreasRectangle.Width - legendSize.Width) / 2F; 1161 legendPosition.X = chartAreasRectangle.X + elementSpacing; 1199 this.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height); 4983 legend.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height);
Common\General\LegendColumns.cs (2)
1947this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height))); 1966this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
Common\General\Matrix3D.cs (1)
245 _translateX = innerPlotRectangle.X+innerPlotRectangle.Width/2;
Common\General\SmartLabels.cs (16)
939 graph.DrawRectangle(calloutPen, labelRectAbs.X, labelRectAbs.Y, labelRectAbs.Width, labelRectAbs.Height); 947 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Top, labelRectAbs.X, labelRectAbs.Bottom); 957 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Top, labelRectAbs.Right, labelRectAbs.Top); 962 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Bottom, labelRectAbs.Right, labelRectAbs.Bottom); 1050 if(labelPosition.X < 0f || labelPosition.Y < 0f || 1077 labelPosition.X + labelPosition.Width/2f, 1096 !areaPath.IsVisible(new PointF(labelPosition.X, labelPosition.Bottom)) ) 1115 labelPosition.X + labelPosition.Width/2f, 1174 labelPosition.X + labelPosition.Width / 2f, 1224 if(point1.X >= rect.X && point1.X <= rect.Right) 1244 if(point1.X < rect.X && point2.X < rect.X) 1259 if(point1.X < rect.X && point2.X < rect.X) 1294 intersection = CalloutAnnotation.GetIntersectionX(point1, point2, rect.X);
Common\General\StripLine.cs (5)
367 rect.X = plotAreaPosition.X; 380 rect.Width = (float)Math.Max(pos1, pos2) - rect.X; 442 point1.X = plotAreaPosition.X; 626 rect.Width = point2.X - rect.X; 725rotationCenter.X = rect.X + size.Width / 2 + sizeBorder.Width;
Common\General\Title.cs (13)
1414 titlePosition.X = titlePosition.X - titlePosition.Width; 1420 titlePosition.X = titlePosition.X - titlePosition.Width/2f; 1486 titlePosition.X, 1515 exactTitleRect.X = titlePosition.X + 1649center.X = absPosition.X + absPosition.Width / 2F; 1847 frameTitlePosition.X + elementSpacing, 1906 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1907 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1920 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1921 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1932 titlePosition.X = chartAreasRectangle.X + elementSpacing; 1972 this.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height); 2137 title.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height);
Common\Utilities\ElementPosition.cs (1)
216 this._x = rect.X;
WinForm\Utilities\AccessibleObject.cs (1)
304absolute.X = bounds.X * (this._chart.Width - 1) / 100F;