991 references to PointF
System.Drawing (18)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
3223points[index] = new PointF(pt.X, pt.Y);
commonui\System\Drawing\Advanced\GPPOINT.cs (1)
39 return new PointF(X, Y);
commonui\System\Drawing\Advanced\GPPOINTF.cs (1)
34return new PointF(X, Y);
commonui\System\Drawing\Advanced\GraphicsPath.cs (4)
455return IsVisible(new PointF(x,y), (Graphics)null); 477return IsVisible(new PointF(x,y), graphics); 562return IsOutlineVisible(new PointF(x,y), pen, (Graphics)null); 585return IsOutlineVisible(new PointF(x,y), pen, graphics);
commonui\System\Drawing\Advanced\PathGradientBrush.cs (1)
820return new PointF(scaleX[0], scaleY[0]);
commonui\System\Drawing\Advanced\PointF.cs (4)
169return new PointF(pt.X + sz.Width, pt.Y + sz.Height); 178return new PointF(pt.X - sz.Width, pt.Y - sz.Height); 187return new PointF(pt.X + sz.Width, pt.Y + sz.Height); 196return new PointF(pt.X - sz.Width, pt.Y - sz.Height);
commonui\System\Drawing\Advanced\RectangleF.cs (1)
96return new PointF(X, Y);
commonui\System\Drawing\Advanced\SizeF.cs (1)
134return new PointF(size.Width, size.Height);
commonui\System\Drawing\Graphics.cs (1)
4324return IsVisible(new PointF(x,y));
commonui\System\Drawing\Point.cs (1)
127return new PointF(p.X, p.Y);
commonui\System\Drawing\Region.cs (2)
783return IsVisible(new PointF(x, y), null); 804return IsVisible(new PointF(x, y), g);
System.Web.DataVisualization (484)
Common\Annotation\AnnotationBase.cs (19)
227 internal PointF currentAnchorLocationRel = new PointF(float.NaN, float.NaN); 2090 new PointF(rect.Right, rect.Bottom), 2114 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Y); 2117 handlePosition = new PointF(rect.Right, rect.Y); 2120 handlePosition = new PointF(rect.Right, rect.Y + rect.Height / 2f); 2123 handlePosition = new PointF(rect.Right, rect.Bottom); 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); 2237 new PointF((float)anchorX, (float)anchorY), 2785 location = new PointF( (float)relativeX, (float)relativeY ); 2787 anchorLocation = new PointF( (float)anchorX, (float)anchorY ); 2809 new PointF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY)); 2842location = new PointF(float.NaN, float.NaN); 2880 currentAnchorLocationRel = new PointF(anchorLocation.X, anchorLocation.Y); 2919 this.currentAnchorLocationRel = new PointF(anchorPoint.X, anchorPoint.Y); 2949 this.currentAnchorLocationRel = new PointF((float)newAnchorX, (float)newAnchorY); 3244 anchorPoint = new PointF(float.NaN, float.NaN); 4000 this.currentAnchorLocationRel = new PointF(float.NaN, float.NaN);
Common\Annotation\ArrowAnnotation.cs (24)
314 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 393 PointF secondPoint = new PointF(positionAbs.Right, positionAbs.Bottom); 410 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 411 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 412 new PointF(firstPoint.X + arrowLength, firstPoint.Y - this.ArrowSize), 413 new PointF(firstPoint.X + arrowLength, firstPoint.Y + this.ArrowSize), 414 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 415 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio) }; 421 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 422 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 423 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 424 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 425 new PointF(firstPoint.X + arrowLength, firstPoint.Y), 426 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio), 427 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 428 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 429 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio) }; 436 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 437 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 438 new PointF(firstPoint.X + arrowLength, firstPoint.Y - this.ArrowSize*tailRatio), 439 new PointF(firstPoint.X + arrowLength - this.ArrowSize*tailRatio, firstPoint.Y), 440 new PointF(firstPoint.X + arrowLength, firstPoint.Y + this.ArrowSize*tailRatio), 441 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 442 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio) };
Common\Annotation\CalloutAnnotation.cs (72)
651 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 844 PointF anchorPointAbs = graphics.GetAbsolutePoint(new PointF(anchorPoint.X, anchorPoint.Y)); 934 PointF anchorPointAbs = graphics.GetAbsolutePoint(new PointF(anchorPoint.X, anchorPoint.Y)); 946 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 947 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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); 958 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 959 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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); 969 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 970 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom - size); 972 points[4] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Bottom); 973 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 974 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 981 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 982 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f - size); 984 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f + size); 985 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 986 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 992 points[1] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Y); 994 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + size); 995 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 996 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 997 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 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); 1007 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1008 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1009 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1015 points[1] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Y); 1016 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1017 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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); 1027 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1028 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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 ); 1116 new PointF( 1126 new PointF(anchorPoint.X, anchorPoint.Y)); 1330 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1331 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1332 points1[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1337 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1338 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1339 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1345 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1346 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1347 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1354 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1355 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1356 points1[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1361 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1362 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1363 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1369 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1370 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1371 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1380 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1381 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1382 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1388 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1389 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1390 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1482 PointF textLinePoint1 = new PointF(rectanglePosition.X, rectanglePosition.Bottom); 1483 PointF textLinePoint2 = new PointF(rectanglePosition.Right, rectanglePosition.Bottom);
Common\Annotation\GroupAnnotation.cs (1)
921 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\ImageAnnotation.cs (1)
525 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\LineAnnotation.cs (1)
569 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\PolygonAnnotation.cs (2)
566 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 1515points[index] = new PointF(this[index].X, this[index].Y);
Common\Annotation\RectangleAnnotation.cs (2)
389 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 627 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\TextAnnotation.cs (1)
419 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\ChartTypes\AreaChart.cs (8)
851 new PointF(float.NaN, float.NaN), 852 new PointF(float.NaN, float.NaN), 1140 new PointF(float.NaN, float.NaN), 1141 new PointF(float.NaN, float.NaN), 1157 new PointF(float.NaN, float.NaN), 1158 new PointF(float.NaN, float.NaN), 1590 thirdPoint = new PointF((float)firstPoint.xPosition, axisPosition); 1591 fourthPoint = new PointF((float)secondPoint.xPosition, axisPosition);
Common\ChartTypes\BarChart.cs (4)
477 point.positionRel = new PointF(float.NaN, float.NaN); 582 point.positionRel = new PointF(( barStartPosition < barSize ) ? rectSize.Right : rectSize.X, (float)xPosition); 1395 point.positionRel = new PointF(float.NaN, float.NaN); 1494 point.positionRel = new PointF(rectSize.Right, (float)xPosition);
Common\ChartTypes\BoxPlotChart.cs (21)
330 point.positionRel = new PointF(float.NaN, float.NaN); 390 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 419 new PointF(xPosition, (float)low), 420 new PointF(xPosition, (float)vAxis.GetPosition( point.YValues[2] )), 429 new PointF(xPosition, (float)high), 430 new PointF(xPosition, (float)vAxis.GetPosition( point.YValues[3] )), 507 new PointF(rectSize.Left + relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 508 new PointF(rectSize.Right - relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 552 new PointF(curPosition, medianValue), 553 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue), 655 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)high), index); 784 new PointF(xPosition - width/4f, yPosition), 785 new PointF(xPosition + width/4f, yPosition), 813 new PointF(xPosition, yPosition), 1111 point.positionRel = new PointF(float.NaN, float.NaN); 1169 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 1287 new PointF(rectSize.Left, (float)points[4].Y), 1288 new PointF(rectSize.Right, (float)points[4].Y), 1332 new PointF(curPosition, medianValue), 1333 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue), 1449 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index);
Common\ChartTypes\ColumnChart.cs (1)
1116 point.positionRel = new PointF(markerPosition.X, markerPosition.Y);
Common\ChartTypes\ErrorBarChart.cs (11)
458 point.positionRel = new PointF(float.NaN, float.NaN); 550 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 572 new PointF(xPosition, (float)high), 573 new PointF(xPosition, (float)low), 701 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index); 845 new PointF(xPosition - width/2f, yPosition), 846 new PointF(xPosition + width/2f, yPosition), 870 new PointF(xPosition, yPosition), 1212 point.positionRel = new PointF(float.NaN, float.NaN); 1301 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 1477 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index);
Common\ChartTypes\FastLineChart.cs (2)
603 PointF firstPoint = Graph.GetRelativePoint(new PointF(firstPointX, firstPointY)); 604 PointF secondPoint = Graph.GetRelativePoint(new PointF(secondPointX, secondPointY));
Common\ChartTypes\FunnelChart.cs (27)
570 pointPositionAbs = new PointF( 607 pointPositionAbs = new PointF( 828 sidePoints[0] = new PointF(xCenterPointAbs + startWidth / 2f, location); 829 sidePoints[1] = new PointF(xCenterPointAbs, location + topRotationHeight); 830 sidePoints[2] = new PointF(xCenterPointAbs - startWidth / 2f, location); 831 sidePoints[3] = new PointF(xCenterPointAbs, location - topRotationHeight); 878 sidePoints[0] = new PointF(xCenterPointAbs + endWidth / 2f, location + height); 879 sidePoints[1] = new PointF(xCenterPointAbs, location + height + bottomRotationHeight); 880 sidePoints[2] = new PointF(xCenterPointAbs - endWidth / 2f, location + height); 881 sidePoints[3] = new PointF(xCenterPointAbs, location + height - bottomRotationHeight); 1016 sidePoints[0] = new PointF(xCenterPointAbs + startWidth / 2f, location); 1017 sidePoints[1] = new PointF(xCenterPointAbs, location + topRotationHeight); 1018 sidePoints[2] = new PointF(xCenterPointAbs - startWidth / 2f, location); 1019 sidePoints[3] = new PointF(xCenterPointAbs, location - topRotationHeight); 1081 sidePoints[0] = new PointF(xCenterPointAbs + endWidth / 2f, location + height); 1082 sidePoints[1] = new PointF(xCenterPointAbs, location + height + bottomRotationHeight); 1083 sidePoints[2] = new PointF(xCenterPointAbs - endWidth / 2f, location + height); 1084 sidePoints[3] = new PointF(xCenterPointAbs, location + height - bottomRotationHeight); 1254 sidePoints[0] = new PointF(xCenterPointAbs + startWidth / 2f, location); 1255 sidePoints[1] = new PointF(xCenterPointAbs, location + topRotationHeight); 1256 sidePoints[2] = new PointF(xCenterPointAbs - startWidth / 2f, location); 1257 sidePoints[3] = new PointF(xCenterPointAbs, location - topRotationHeight); 1303 sidePoints[0] = new PointF(xCenterPointAbs + endWidth / 2f, location + height); 1304 sidePoints[1] = new PointF(xCenterPointAbs, location + height + bottomRotationHeight); 1305 sidePoints[2] = new PointF(xCenterPointAbs - endWidth / 2f, location + height); 1306 sidePoints[3] = new PointF(xCenterPointAbs, location + height - bottomRotationHeight); 2960 pointPositionAbs = new PointF(
Common\ChartTypes\KagiChart.cs (2)
501 PointF point2 = new PointF(points[pointIndex].X, points[pointIndex - 1].Y); 656 pointPos[index] = new PointF(
Common\ChartTypes\LineChart.cs (29)
476 point.positionRel = new PointF(float.NaN, float.NaN); 591 dataPointPos[index - 1] = new PointF( 604 dataPointPos[index] = new PointF( 666 point.positionRel = new PointF( 1180 pointPos[index] = new PointF( 1426 new PointF(float.NaN, float.NaN), 1427 new PointF(float.NaN, float.NaN), 1780 new PointF(float.NaN, float.NaN), 1781 new PointF(float.NaN, float.NaN), 1905 new PointF(float.NaN, float.NaN), 1906 new PointF((float)intersectionPoint2.xPosition, float.NaN), 1928 new PointF((float)intersectionPoint.xPosition, float.NaN), 1929 new PointF((float)intersectionPoint2.xPosition, float.NaN), 1949 new PointF((float)intersectionPoint.xPosition, float.NaN), 1950 new PointF(float.NaN, float.NaN), 2069 PointF prevThirdPoint = new PointF(thirdPoint.X, thirdPoint.Y); 2070 PointF prevFourthPoint = new PointF(fourthPoint.X, fourthPoint.Y); 2099 new PointF(thirdPoint.X, thirdPoint.Y), 2100 new PointF(fourthPoint.X, fourthPoint.Y), 2105 thirdPoint = new PointF(prevThirdPoint.X, prevThirdPoint.Y); 2106 fourthPoint = new PointF(prevFourthPoint.X, prevFourthPoint.Y); 2267 new PointF(float.NaN, thirdPoint.Y), 2268 new PointF((float)intersectionPoint2.xPosition, (!firstSegmentVisible || segmentNumber == 3) ? thirdPoint.Y : fourthPoint.Y), 2312 new PointF((float)intersectionPoint.xPosition, thirdPoint.Y), 2313 new PointF((float)intersectionPoint2.xPosition, fourthPoint.Y), 2361 new PointF((float)intersectionPoint.xPosition, thirdPointNewY), 2362 new PointF(float.NaN, fourthPoint.Y), 2387 thirdPoint = new PointF(prevThirdPoint.X, prevThirdPoint.Y); 2388 fourthPoint = new PointF(prevFourthPoint.X, prevFourthPoint.Y);
Common\ChartTypes\PieChart.cs (15)
799 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 1023 point.positionRel = new PointF(float.NaN, float.NaN); 1265new PointF(x, y), 1278new PointF(x, y), 1323 graph.DrawLineRel( pieLineColor, point.BorderWidth, ChartDashStyle.Solid, new PointF( x1, y1 ), new PointF( x2, y2 ) ); 1353labelRect = GetLabelRect(new PointF(x3, y3), area, text, format, graph, point, true); 1354labelRectOver = GetLabelRect(new PointF(x3Overlap, y3), area, text, format, graph, point, true); 1370labelRect = GetLabelRect(new PointF(x3, y3), area, text, format, graph, point, false); 1371labelRectOver = GetLabelRect(new PointF(x3Overlap, y3), area, text, format, graph, point, false); 1380graph.DrawLineRel(pieLineColor, point.BorderWidth, ChartDashStyle.Solid, new PointF(x2, y2), new PointF(x3Overlap, calculatedY3)); 1384graph.DrawLineRel(pieLineColor, point.BorderWidth, ChartDashStyle.Solid, new PointF(x2, y2), new PointF(x3, y3)); 2562 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 );
Common\ChartTypes\PointAndFigureChart.cs (8)
842 new PointF(shadowPosition.Left, shadowPosition.Top), 843 new PointF(shadowPosition.Right, shadowPosition.Bottom)); 848 new PointF(shadowPosition.Left, shadowPosition.Bottom), 849 new PointF(shadowPosition.Right, shadowPosition.Top)); 857 new PointF(position.Left, position.Top), 858 new PointF(position.Right, position.Bottom)); 863 new PointF(position.Left, position.Bottom), 864 new PointF(position.Right, position.Top));
Common\ChartTypes\PointChart.cs (5)
371 point.positionRel = new PointF(float.NaN, float.NaN); 443 point.positionRel = new PointF(markerPosition.X, markerPosition.Y); 777PointF position = new PointF(markerPosition.X, markerPosition.Y); 1110 point.positionRel = new PointF(float.NaN, float.NaN); 1171 point.positionRel = new PointF(markerPosition.X, markerPosition.Y);
Common\ChartTypes\PolarChart.cs (1)
249 pointPos[index] = graph.GetAbsolutePoint(new PointF((float)xPosition, (float)yPosition));
Common\ChartTypes\RadarChart.cs (2)
996 pointPos[index] = graph.GetAbsolutePoint(new PointF((float)xPosition, (float)yPosition)); 1144PointF position = new PointF(markerPosition.X, markerPosition.Y);
Common\ChartTypes\RangeChart.cs (6)
1058 new PointF(float.NaN, float.NaN), 1059 new PointF(float.NaN, float.NaN), 1078 new PointF(float.NaN, float.NaN), 1079 new PointF(float.NaN, float.NaN), 1604 thirdPoint = new PointF((float)firstPoint.xPosition, secondYValue); 1606 fourthPoint = new PointF((float)secondPoint.xPosition, secondYValue);
Common\ChartTypes\StackedAreaChart.cs (10)
527 point.positionRel = new PointF(float.NaN, float.NaN); 545 point.positionRel = new PointF(xPosition, yPosition); 558 prevYValue1 = graph.GetAbsolutePoint(new PointF(prevYValue1, prevYValue1)).Y; 572 prevYValue2 = graph.GetAbsolutePoint(new PointF(prevYValue2, prevYValue2)).Y; 866 prevYValue1 = graph.GetAbsolutePoint(new PointF(prevYValue1, prevYValue1)).Y; 879 prevYValue2 = graph.GetAbsolutePoint(new PointF(prevYValue2, prevYValue2)).Y; 972 prevYValue1 = graph.GetAbsolutePoint(new PointF(prevYValue1, prevYValue1)).Y; 985 prevYValue2 = graph.GetAbsolutePoint(new PointF(prevYValue2, prevYValue2)).Y; 1337 thirdPoint = new PointF((float)xValue, (float)yValue); 1366 fourthPoint = new PointF((float)xValue, (float)yValue);
Common\ChartTypes\StackedBarChart.cs (4)
685 point.positionRel = new PointF(float.NaN, float.NaN); 837 point.positionRel = new PointF(rectSize.Right, (float)xPosition); 1402 point.positionRel = new PointF(float.NaN, float.NaN); 1590 point.positionRel = new PointF(rectSize.Right, (float)pointEx.xPosition);
Common\ChartTypes\StackedColumnChart.cs (4)
694 point.positionRel = new PointF(float.NaN, float.NaN); 858 point.positionRel = new PointF((float)xPosition, rectSize.Top); 1443 point.positionRel = new PointF(float.NaN, float.NaN); 1628 point.positionRel = new PointF((float)pointEx.xPosition, rectSize.Top);
Common\ChartTypes\StepLineChart.cs (1)
121 PointF point2 = new PointF(points[pointIndex].X, points[pointIndex - 1].Y);
Common\ChartTypes\StockChart.cs (22)
372 point.positionRel = new PointF(float.NaN, float.NaN); 421 point.positionRel = new PointF((float)xPosition, (float)high); 443 new PointF(xPosition, (float)high), 444 new PointF(xPosition, (float)low), 622 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index); 834 new PointF(rect.X, rect.Y), 835 new PointF(rect.Right, rect.Y), 845PointF point1 = graph.GetAbsolutePoint(new PointF(xPosition, open)); 846PointF point2 = graph.GetAbsolutePoint(new PointF(xPosition - width / 2f, open + height / 2f)); 847PointF point3 = graph.GetAbsolutePoint(new PointF(xPosition - width / 2f, open - height / 2f)); 869point1 = graph.GetAbsolutePoint(new PointF(xPosition, close)); 870point2 = graph.GetAbsolutePoint(new PointF(xPosition + width / 2f, close + height / 2f)); 871point3 = graph.GetAbsolutePoint(new PointF(xPosition + width / 2f, close - height / 2f)); 892 new PointF(xPosition - width/2f, open), 893 new PointF(xPosition, open), 904 new PointF(xPosition, close), 905 new PointF(xPosition + width/2f, close), 1181 point.positionRel = new PointF(float.NaN, float.NaN); 1239 point.positionRel = new PointF((float)xPosition, (float)high); 1360 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index); 1664 new PointF(rect.X, rect.Y), 1665 new PointF(rect.Right, rect.Y),
Common\General\Axis.cs (16)
1962 new PointF(transformedTitlePosition.X, transformedTitlePosition.Y), 1963 new PointF(transformedTitlePosition.Right, transformedTitlePosition.Bottom) }; 2080PointF endPoint = new PointF(rect.X + rect.Width / 2f, rect.Y); 2159PointF absPoint = graph.GetAbsolutePoint(new PointF(position, position)); 2286rotationCenter = new PointF(ChartArea.PlotAreaPosition.X, ChartArea.PlotAreaPosition.Y + ChartArea.PlotAreaPosition.Height / 2f); 2298rotationCenter = new PointF(ChartArea.PlotAreaPosition.Right, ChartArea.PlotAreaPosition.Y + ChartArea.PlotAreaPosition.Height / 2f); 2310rotationCenter = new PointF(ChartArea.PlotAreaPosition.X + ChartArea.PlotAreaPosition.Width / 2f, ChartArea.PlotAreaPosition.Y); 2322rotationCenter = new PointF(ChartArea.PlotAreaPosition.X + ChartArea.PlotAreaPosition.Width / 2f, ChartArea.PlotAreaPosition.Bottom); 2681new PointF(rect.Left, rect.Top), 2682new PointF(rect.Right, rect.Top), 2683new PointF(rect.Right, rect.Bottom), 2684new PointF(rect.Left, rect.Bottom)}; 2781PointF tempPoint = new PointF(point1.X, point1.Y); 4844float spacing = graph.GetAbsolutePoint(new PointF(0, this.markSize + Axis.elementSpacing)).Y; 4908PointF outsidePoint = new PointF(areaCenterAbs.X, plotAreaRectAbs.Y); 4941PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) };
Common\General\AxisScaleSegments.cs (12)
566 points[pointIndex] = new PointF( 571 points[0] = new PointF(startX, y); 572 points[points.Length - 1] = new PointF(endX, y); 588 points[pointIndex] = new PointF( 593 points[0] = new PointF(x, startY); 594 points[points.Length - 1] = new PointF(x, endY); 618 points[pointIndex] = new PointF( 623 points[0] = new PointF(startX, y); 624 points[points.Length - 1] = new PointF(endX, y); 641 points[pointIndex] = new PointF( 646 points[0] = new PointF(x, startY); 647 points[points.Length - 1] = new PointF(x, endY);
Common\General\ChartArea.cs (3)
1825 this.circularCenter = new PointF(plottingRect.X + plottingRect.Width/2f, plottingRect.Y + plottingRect.Height/2f); 2581 float spacing = chartGraph.GetAbsolutePoint(new PointF(0, this.AxisX.markSize + Axis.elementSpacing)).Y; 2738 PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) };
Common\General\ChartGraphics.cs (38)
331 PointF firstShadow = new PointF( firstPoint.X + shadowOffset, firstPoint.Y + shadowOffset); 332 PointF secondShadow = new PointF( secondPoint.X + shadowOffset, secondPoint.Y + shadowOffset ); 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)); 857shadowBrush.CenterPoint = new PointF(point.X, point.Y); 860PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 968shadowBrush.CenterPoint = new PointF(point.X, point.Y); 971PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 1097shadowBrush.CenterPoint = new PointF(point.X, point.Y); 1100PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 1500 rotationPoint = new PointF(backPositionAbs.X + backPositionAbs.Width/2f, backPositionAbs.Y + backPositionAbs.Height/2f); 1719new PointF(absCenter.X - size.Width / 2f, absCenter.Y - size.Height / 2f), 1720new PointF(absCenter.X + size.Width / 2f, absCenter.Y - size.Height / 2f), 1721new PointF(absCenter.X + size.Width / 2f, absCenter.Y + size.Height / 2f), 1722new PointF(absCenter.X - size.Width / 2f, absCenter.Y + size.Height / 2f)}; 2398 PointF centerNotRound = new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F); 2413 PointF axisPositionAbs = new PointF(axisPosRelative, axisPosRelative); 2553 Point center = Point.Round(new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F)); 2917 new PointF(rect.Left, rect.Bottom), 2918 new PointF(rect.Left, rect.Top), 2919 new PointF(rect.Right, rect.Top), 2920 new PointF(rect.Right - shadowSize, rect.Top + shadowSize), 2921 new PointF(rect.Left + shadowSize, rect.Top + shadowSize), 2922 new PointF(rect.Left + shadowSize, rect.Bottom - shadowSize) }; 2938 new PointF(rect.Right, rect.Top), 2939 new PointF(rect.Right, rect.Bottom), 2940 new PointF(rect.Left, rect.Bottom), 2941 new PointF(rect.Left + shadowSize, rect.Bottom - shadowSize), 2942 new PointF(rect.Right - shadowSize, rect.Bottom - shadowSize), 2943 new PointF(rect.Right - shadowSize, rect.Top + shadowSize) }; 3830 shadowBrush.CenterPoint = new PointF(offset.X + offset.Width/2f, offset.Y + offset.Height/2f); 3833 PointF focusScale = new PointF(1-2f*shadowOffset/offset.Width, 1-2f*shadowOffset/offset.Height); 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); 4824 shadowBrush.CenterPoint = new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f); 4827 PointF focusScale = new PointF(1-shadowScale*radius/rect.Width, 1-shadowScale*radius/rect.Height);
Common\General\ChartGraphics3D.cs (37)
1434 polygonPointsFront[0] = new PointF((float)splineDataPoints[0].xPosition, (float)splineDataPoints[0].yPosition); 1435 polygonPointsFront[1] = new PointF((float)splineDataPoints[1].xPosition, (float)splineDataPoints[1].yPosition); 1437 polygonPointsFront[2] = new PointF((float)splineDataPoints[2].xPosition, (float)splineDataPoints[2].yPosition); 1439 polygonPointsFront[3] = new PointF((float)splineDataPoints[3].xPosition, (float)splineDataPoints[3].yPosition); 1447 polygonPointsFront[0] = new PointF((float)splineDataPoints[0].xPosition, secondYValue); 1449 polygonPointsFront[1] = new PointF((float)splineDataPoints[1].xPosition, secondYValue); 1453 polygonPointsFront[2] = new PointF((float)splineDataPoints[2].xPosition, secondYValue); 1458 polygonPointsFront[3] = new PointF((float)splineDataPoints[3].xPosition, secondYValue); 2961 pointsSurface[0] = new PointF(cubePoints[0].X, cubePoints[0].Y); 2962 pointsSurface[1] = new PointF(cubePoints[1].X, cubePoints[1].Y); 2963 pointsSurface[2] = new PointF(cubePoints[2].X, cubePoints[2].Y); 2964 pointsSurface[3] = new PointF(cubePoints[3].X, cubePoints[3].Y); 2968 pointsSurface[0] = new PointF(cubePoints[4].X, cubePoints[4].Y); 2969 pointsSurface[1] = new PointF(cubePoints[5].X, cubePoints[5].Y); 2970 pointsSurface[2] = new PointF(cubePoints[6].X, cubePoints[6].Y); 2971 pointsSurface[3] = new PointF(cubePoints[7].X, cubePoints[7].Y); 2975 pointsSurface[0] = new PointF(cubePoints[0].X, cubePoints[0].Y); 2976 pointsSurface[1] = new PointF(cubePoints[1].X, cubePoints[1].Y); 2977 pointsSurface[2] = new PointF(cubePoints[5].X, cubePoints[5].Y); 2978 pointsSurface[3] = new PointF(cubePoints[4].X, cubePoints[4].Y); 2982 pointsSurface[0] = new PointF(cubePoints[3].X, cubePoints[3].Y); 2983 pointsSurface[1] = new PointF(cubePoints[2].X, cubePoints[2].Y); 2984 pointsSurface[2] = new PointF(cubePoints[6].X, cubePoints[6].Y); 2985 pointsSurface[3] = new PointF(cubePoints[7].X, cubePoints[7].Y); 2989 pointsSurface[0] = new PointF(cubePoints[0].X, cubePoints[0].Y); 2990 pointsSurface[1] = new PointF(cubePoints[3].X, cubePoints[3].Y); 2991 pointsSurface[2] = new PointF(cubePoints[7].X, cubePoints[7].Y); 2992 pointsSurface[3] = new PointF(cubePoints[4].X, cubePoints[4].Y); 2996 pointsSurface[0] = new PointF(cubePoints[1].X, cubePoints[1].Y); 2997 pointsSurface[1] = new PointF(cubePoints[2].X, cubePoints[2].Y); 2998 pointsSurface[2] = new PointF(cubePoints[6].X, cubePoints[6].Y); 2999 pointsSurface[3] = new PointF(cubePoints[5].X, cubePoints[5].Y); 3574shadowBrush.CenterPoint = new PointF(markerRotatedPosition.X, markerRotatedPosition.Y); 3577PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 4618 private PointF _coordXY = new PointF(0f, 0f); 4706this._coordXY = new PointF(value.X, value.Y); 4721 this._coordXY = new PointF(x, y);
Common\General\ImageMap.cs (4)
365PointF p = graph.GetAbsolutePoint(new PointF(this.Coordinates[0], this.Coordinates[1])); 368p = graph.GetAbsolutePoint(new PointF(this.Coordinates[2], this.Coordinates[1])); 373PointF p = graph.GetAbsolutePoint(new PointF(this.Coordinates[0], this.Coordinates[1])); 376p = graph.GetAbsolutePoint(new PointF(this.Coordinates[2], this.Coordinates[3]));
Common\General\Label.cs (4)
1161PointF labelRelativePosition = new PointF( 1279 new PointF(labelRect.Right, labelRect.Y), 1280 new PointF(labelRect.Right, labelRect.Bottom), 1281 new PointF(labelRect.X, labelRect.Bottom)
Common\General\Legend.cs (25)
2540 PointF point = new PointF( 4454 new PointF(rect.Left, rect.Bottom - 1), 4455 new PointF(rect.Right, rect.Bottom - 1) ); 4465 new PointF(rect.Right - 1, rect.Top), 4466 new PointF(rect.Right - 1, rect.Bottom) ); 4478 new PointF(rect.Left, rect.Bottom - 1), 4479 new PointF(rect.Right, rect.Bottom - 1) ); 4489 new PointF(rect.Right - 1, rect.Top), 4490 new PointF(rect.Right - 1, rect.Bottom) ); 4502 new PointF(rect.Left, rect.Bottom - 1), 4503 new PointF(rect.Right, rect.Bottom - 1) ); 4513 new PointF(rect.Right - 1, rect.Top), 4514 new PointF(rect.Right - 1, rect.Bottom) ); 4526 new PointF(rect.Left, rect.Bottom - 1f), 4527 new PointF(rect.Right, rect.Bottom - 1f) ); 4536 new PointF(rect.Right - 1f, rect.Top), 4537 new PointF(rect.Right - 1f, rect.Bottom) ); 4549 new PointF(rect.Left, rect.Bottom - 3), 4550 new PointF(rect.Right, rect.Bottom - 3) ); 4555 new PointF(rect.Left, rect.Bottom - 1), 4556 new PointF(rect.Right, rect.Bottom - 1) ); 4565 new PointF(rect.Right - 3, rect.Top), 4566 new PointF(rect.Right - 3, rect.Bottom) ); 4571 new PointF(rect.Right - 1, rect.Top), 4572 new PointF(rect.Right - 1, rect.Bottom) );
Common\General\LegendColumns.cs (1)
2458 PointF pointF = new PointF(point.X, point.Y);
Common\General\Selection.cs (31)
854 PointF circleCenter = graph.GetAbsolutePoint( new PointF( x, y ) ); 2037relativeX = this.Graph.GetRelativePoint(new PointF(x, y)).X; 2038relativeY = this.Graph.GetRelativePoint(new PointF(x, y)).Y; 2772list.Add(new PointF(rect.Left + rect.Width / 2, rect.Top)); 2773list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 2774list.Add(new PointF(rect.Right - rect.Width / 2, rect.Bottom)); 2775list.Add(new PointF(rect.Left, rect.Bottom - rect.Height / 2)); 2809PointF middleP0P3 = new PointF((points[i].X + points[i + 3].X) / 2f, (points[i].Y + points[i + 3].Y) / 2f); 2810PointF middleP1P2 = new PointF((points[i + 1].X + points[i + 2].X) / 2f, (points[i + 1].Y + points[i + 2].Y) / 2f); 3201list.Add(new PointF(rect.Left, rect.Top)); 3202list.Add(new PointF(rect.Right, rect.Top)); 3203list.Add(new PointF(rect.Right, rect.Bottom)); 3204list.Add(new PointF(rect.Left, rect.Bottom)); 3208list.Add(new PointF(rect.Left, rect.Top)); 3209list.Add(new PointF(rect.Right, rect.Top)); 3213list.Add(new PointF(rect.Left, rect.Top)); 3214list.Add(new PointF(rect.Left, rect.Bottom)); 3221list.Add(new PointF(rect.Left, rect.Top)); 3225list.Add(new PointF(rect.Left + rect.Width / 2, rect.Top)); 3228list.Add(new PointF(rect.Right, rect.Top)); 3232list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 3235list.Add(new PointF(rect.Right, rect.Bottom)); 3238list.Add(new PointF(rect.Left + rect.Width / 2, rect.Bottom)); 3241list.Add(new PointF(rect.Left, rect.Bottom)); 3244list.Add(new PointF(rect.Left, rect.Top + rect.Height / 2)); 3250list.Add(new PointF(rect.Left, rect.Top)); 3254list.Add(new PointF(rect.Left + rect.Width / 2, rect.Top)); 3257list.Add(new PointF(rect.Right, rect.Top)); 3261list.Add(new PointF(rect.Left, rect.Bottom)); 3264list.Add(new PointF(rect.Left, rect.Top + rect.Height / 2)); 3266list.Add(new PointF(rect.Left, rect.Top));
Common\General\SmartLabels.cs (7)
1076 PointF centerPos = new PointF( 1094 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Y)) || 1095 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Bottom)) || 1096 !areaPath.IsVisible(new PointF(labelPosition.X, labelPosition.Bottom)) ) 1114 PointF centerPos = new PointF( 1173 PointF labelCenter = new PointF( 1487 PointF position = new PointF(markerPosition.X, markerPosition.Y);
System.Windows.Forms.DataVisualization (485)
Common\Annotation\AnnotationBase.cs (19)
227 internal PointF currentAnchorLocationRel = new PointF(float.NaN, float.NaN); 2090 new PointF(rect.Right, rect.Bottom), 2114 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Y); 2117 handlePosition = new PointF(rect.Right, rect.Y); 2120 handlePosition = new PointF(rect.Right, rect.Y + rect.Height / 2f); 2123 handlePosition = new PointF(rect.Right, rect.Bottom); 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); 2237 new PointF((float)anchorX, (float)anchorY), 2785 location = new PointF( (float)relativeX, (float)relativeY ); 2787 anchorLocation = new PointF( (float)anchorX, (float)anchorY ); 2809 new PointF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY)); 2842location = new PointF(float.NaN, float.NaN); 2880 currentAnchorLocationRel = new PointF(anchorLocation.X, anchorLocation.Y); 2919 this.currentAnchorLocationRel = new PointF(anchorPoint.X, anchorPoint.Y); 2949 this.currentAnchorLocationRel = new PointF((float)newAnchorX, (float)newAnchorY); 3244 anchorPoint = new PointF(float.NaN, float.NaN); 4000 this.currentAnchorLocationRel = new PointF(float.NaN, float.NaN);
Common\Annotation\ArrowAnnotation.cs (24)
314 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 393 PointF secondPoint = new PointF(positionAbs.Right, positionAbs.Bottom); 410 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 411 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 412 new PointF(firstPoint.X + arrowLength, firstPoint.Y - this.ArrowSize), 413 new PointF(firstPoint.X + arrowLength, firstPoint.Y + this.ArrowSize), 414 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 415 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio) }; 421 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 422 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 423 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 424 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 425 new PointF(firstPoint.X + arrowLength, firstPoint.Y), 426 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio), 427 new PointF(firstPoint.X + arrowLength - this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 428 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 429 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio) }; 436 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize*pointerRatio), 437 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y - this.ArrowSize), 438 new PointF(firstPoint.X + arrowLength, firstPoint.Y - this.ArrowSize*tailRatio), 439 new PointF(firstPoint.X + arrowLength - this.ArrowSize*tailRatio, firstPoint.Y), 440 new PointF(firstPoint.X + arrowLength, firstPoint.Y + this.ArrowSize*tailRatio), 441 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize), 442 new PointF(firstPoint.X + this.ArrowSize*pointerRatio, firstPoint.Y + this.ArrowSize*pointerRatio) };
Common\Annotation\CalloutAnnotation.cs (72)
651 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 844 PointF anchorPointAbs = graphics.GetAbsolutePoint(new PointF(anchorPoint.X, anchorPoint.Y)); 934 PointF anchorPointAbs = graphics.GetAbsolutePoint(new PointF(anchorPoint.X, anchorPoint.Y)); 946 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 947 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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); 958 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 959 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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); 969 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 970 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom - size); 972 points[4] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Bottom); 973 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 974 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 981 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 982 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f - size); 984 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f + size); 985 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 986 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 992 points[1] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Y); 994 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + size); 995 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 996 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 997 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 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); 1007 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1008 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1009 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1015 points[1] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Y); 1016 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1017 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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); 1027 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1028 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 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 ); 1116 new PointF( 1126 new PointF(anchorPoint.X, anchorPoint.Y)); 1330 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1331 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1332 points1[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1337 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1338 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1339 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1345 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1346 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1347 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1354 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1355 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1356 points1[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1361 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1362 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1363 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1369 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1370 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1371 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1380 points2[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Bottom); 1381 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1382 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1388 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1389 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1390 points2[2] = new PointF(anchorPointAbs.X, anchorPointAbs.Y); 1482 PointF textLinePoint1 = new PointF(rectanglePosition.X, rectanglePosition.Bottom); 1483 PointF textLinePoint2 = new PointF(rectanglePosition.Right, rectanglePosition.Bottom);
Common\Annotation\GroupAnnotation.cs (1)
921 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\ImageAnnotation.cs (1)
525 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\LineAnnotation.cs (1)
569 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\PolygonAnnotation.cs (2)
566 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 1515points[index] = new PointF(this[index].X, this[index].Y);
Common\Annotation\RectangleAnnotation.cs (2)
389 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 627 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\TextAnnotation.cs (1)
419 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\ChartTypes\AreaChart.cs (8)
851 new PointF(float.NaN, float.NaN), 852 new PointF(float.NaN, float.NaN), 1140 new PointF(float.NaN, float.NaN), 1141 new PointF(float.NaN, float.NaN), 1157 new PointF(float.NaN, float.NaN), 1158 new PointF(float.NaN, float.NaN), 1590 thirdPoint = new PointF((float)firstPoint.xPosition, axisPosition); 1591 fourthPoint = new PointF((float)secondPoint.xPosition, axisPosition);
Common\ChartTypes\BarChart.cs (4)
477 point.positionRel = new PointF(float.NaN, float.NaN); 582 point.positionRel = new PointF(( barStartPosition < barSize ) ? rectSize.Right : rectSize.X, (float)xPosition); 1395 point.positionRel = new PointF(float.NaN, float.NaN); 1494 point.positionRel = new PointF(rectSize.Right, (float)xPosition);
Common\ChartTypes\BoxPlotChart.cs (21)
330 point.positionRel = new PointF(float.NaN, float.NaN); 390 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 419 new PointF(xPosition, (float)low), 420 new PointF(xPosition, (float)vAxis.GetPosition( point.YValues[2] )), 429 new PointF(xPosition, (float)high), 430 new PointF(xPosition, (float)vAxis.GetPosition( point.YValues[3] )), 507 new PointF(rectSize.Left + relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 508 new PointF(rectSize.Right - relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 552 new PointF(curPosition, medianValue), 553 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue), 655 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)high), index); 784 new PointF(xPosition - width/4f, yPosition), 785 new PointF(xPosition + width/4f, yPosition), 813 new PointF(xPosition, yPosition), 1111 point.positionRel = new PointF(float.NaN, float.NaN); 1169 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 1287 new PointF(rectSize.Left, (float)points[4].Y), 1288 new PointF(rectSize.Right, (float)points[4].Y), 1332 new PointF(curPosition, medianValue), 1333 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue), 1449 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index);
Common\ChartTypes\ColumnChart.cs (1)
1116 point.positionRel = new PointF(markerPosition.X, markerPosition.Y);
Common\ChartTypes\ErrorBarChart.cs (11)
458 point.positionRel = new PointF(float.NaN, float.NaN); 550 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 572 new PointF(xPosition, (float)high), 573 new PointF(xPosition, (float)low), 701 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index); 845 new PointF(xPosition - width/2f, yPosition), 846 new PointF(xPosition + width/2f, yPosition), 870 new PointF(xPosition, yPosition), 1212 point.positionRel = new PointF(float.NaN, float.NaN); 1301 point.positionRel = new PointF((float)xPosition, (float)Math.Min(high, low)); 1477 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index);
Common\ChartTypes\FastLineChart.cs (2)
603 PointF firstPoint = Graph.GetRelativePoint(new PointF(firstPointX, firstPointY)); 604 PointF secondPoint = Graph.GetRelativePoint(new PointF(secondPointX, secondPointY));
Common\ChartTypes\FunnelChart.cs (27)
570 pointPositionAbs = new PointF( 607 pointPositionAbs = new PointF( 828 sidePoints[0] = new PointF(xCenterPointAbs + startWidth / 2f, location); 829 sidePoints[1] = new PointF(xCenterPointAbs, location + topRotationHeight); 830 sidePoints[2] = new PointF(xCenterPointAbs - startWidth / 2f, location); 831 sidePoints[3] = new PointF(xCenterPointAbs, location - topRotationHeight); 878 sidePoints[0] = new PointF(xCenterPointAbs + endWidth / 2f, location + height); 879 sidePoints[1] = new PointF(xCenterPointAbs, location + height + bottomRotationHeight); 880 sidePoints[2] = new PointF(xCenterPointAbs - endWidth / 2f, location + height); 881 sidePoints[3] = new PointF(xCenterPointAbs, location + height - bottomRotationHeight); 1016 sidePoints[0] = new PointF(xCenterPointAbs + startWidth / 2f, location); 1017 sidePoints[1] = new PointF(xCenterPointAbs, location + topRotationHeight); 1018 sidePoints[2] = new PointF(xCenterPointAbs - startWidth / 2f, location); 1019 sidePoints[3] = new PointF(xCenterPointAbs, location - topRotationHeight); 1081 sidePoints[0] = new PointF(xCenterPointAbs + endWidth / 2f, location + height); 1082 sidePoints[1] = new PointF(xCenterPointAbs, location + height + bottomRotationHeight); 1083 sidePoints[2] = new PointF(xCenterPointAbs - endWidth / 2f, location + height); 1084 sidePoints[3] = new PointF(xCenterPointAbs, location + height - bottomRotationHeight); 1254 sidePoints[0] = new PointF(xCenterPointAbs + startWidth / 2f, location); 1255 sidePoints[1] = new PointF(xCenterPointAbs, location + topRotationHeight); 1256 sidePoints[2] = new PointF(xCenterPointAbs - startWidth / 2f, location); 1257 sidePoints[3] = new PointF(xCenterPointAbs, location - topRotationHeight); 1303 sidePoints[0] = new PointF(xCenterPointAbs + endWidth / 2f, location + height); 1304 sidePoints[1] = new PointF(xCenterPointAbs, location + height + bottomRotationHeight); 1305 sidePoints[2] = new PointF(xCenterPointAbs - endWidth / 2f, location + height); 1306 sidePoints[3] = new PointF(xCenterPointAbs, location + height - bottomRotationHeight); 2960 pointPositionAbs = new PointF(
Common\ChartTypes\KagiChart.cs (2)
501 PointF point2 = new PointF(points[pointIndex].X, points[pointIndex - 1].Y); 656 pointPos[index] = new PointF(
Common\ChartTypes\LineChart.cs (29)
476 point.positionRel = new PointF(float.NaN, float.NaN); 591 dataPointPos[index - 1] = new PointF( 604 dataPointPos[index] = new PointF( 666 point.positionRel = new PointF( 1180 pointPos[index] = new PointF( 1426 new PointF(float.NaN, float.NaN), 1427 new PointF(float.NaN, float.NaN), 1780 new PointF(float.NaN, float.NaN), 1781 new PointF(float.NaN, float.NaN), 1905 new PointF(float.NaN, float.NaN), 1906 new PointF((float)intersectionPoint2.xPosition, float.NaN), 1928 new PointF((float)intersectionPoint.xPosition, float.NaN), 1929 new PointF((float)intersectionPoint2.xPosition, float.NaN), 1949 new PointF((float)intersectionPoint.xPosition, float.NaN), 1950 new PointF(float.NaN, float.NaN), 2069 PointF prevThirdPoint = new PointF(thirdPoint.X, thirdPoint.Y); 2070 PointF prevFourthPoint = new PointF(fourthPoint.X, fourthPoint.Y); 2099 new PointF(thirdPoint.X, thirdPoint.Y), 2100 new PointF(fourthPoint.X, fourthPoint.Y), 2105 thirdPoint = new PointF(prevThirdPoint.X, prevThirdPoint.Y); 2106 fourthPoint = new PointF(prevFourthPoint.X, prevFourthPoint.Y); 2267 new PointF(float.NaN, thirdPoint.Y), 2268 new PointF((float)intersectionPoint2.xPosition, (!firstSegmentVisible || segmentNumber == 3) ? thirdPoint.Y : fourthPoint.Y), 2312 new PointF((float)intersectionPoint.xPosition, thirdPoint.Y), 2313 new PointF((float)intersectionPoint2.xPosition, fourthPoint.Y), 2361 new PointF((float)intersectionPoint.xPosition, thirdPointNewY), 2362 new PointF(float.NaN, fourthPoint.Y), 2387 thirdPoint = new PointF(prevThirdPoint.X, prevThirdPoint.Y); 2388 fourthPoint = new PointF(prevFourthPoint.X, prevFourthPoint.Y);
Common\ChartTypes\PieChart.cs (15)
799 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 1023 point.positionRel = new PointF(float.NaN, float.NaN); 1265new PointF(x, y), 1278new PointF(x, y), 1323 graph.DrawLineRel( pieLineColor, point.BorderWidth, ChartDashStyle.Solid, new PointF( x1, y1 ), new PointF( x2, y2 ) ); 1353labelRect = GetLabelRect(new PointF(x3, y3), area, text, format, graph, point, true); 1354labelRectOver = GetLabelRect(new PointF(x3Overlap, y3), area, text, format, graph, point, true); 1370labelRect = GetLabelRect(new PointF(x3, y3), area, text, format, graph, point, false); 1371labelRectOver = GetLabelRect(new PointF(x3Overlap, y3), area, text, format, graph, point, false); 1380graph.DrawLineRel(pieLineColor, point.BorderWidth, ChartDashStyle.Solid, new PointF(x2, y2), new PointF(x3Overlap, calculatedY3)); 1384graph.DrawLineRel(pieLineColor, point.BorderWidth, ChartDashStyle.Solid, new PointF(x2, y2), new PointF(x3, y3)); 2562 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 );
Common\ChartTypes\PointAndFigureChart.cs (8)
842 new PointF(shadowPosition.Left, shadowPosition.Top), 843 new PointF(shadowPosition.Right, shadowPosition.Bottom)); 848 new PointF(shadowPosition.Left, shadowPosition.Bottom), 849 new PointF(shadowPosition.Right, shadowPosition.Top)); 857 new PointF(position.Left, position.Top), 858 new PointF(position.Right, position.Bottom)); 863 new PointF(position.Left, position.Bottom), 864 new PointF(position.Right, position.Top));
Common\ChartTypes\PointChart.cs (5)
371 point.positionRel = new PointF(float.NaN, float.NaN); 443 point.positionRel = new PointF(markerPosition.X, markerPosition.Y); 777PointF position = new PointF(markerPosition.X, markerPosition.Y); 1110 point.positionRel = new PointF(float.NaN, float.NaN); 1171 point.positionRel = new PointF(markerPosition.X, markerPosition.Y);
Common\ChartTypes\PolarChart.cs (1)
249 pointPos[index] = graph.GetAbsolutePoint(new PointF((float)xPosition, (float)yPosition));
Common\ChartTypes\RadarChart.cs (2)
996 pointPos[index] = graph.GetAbsolutePoint(new PointF((float)xPosition, (float)yPosition)); 1144PointF position = new PointF(markerPosition.X, markerPosition.Y);
Common\ChartTypes\RangeChart.cs (6)
1058 new PointF(float.NaN, float.NaN), 1059 new PointF(float.NaN, float.NaN), 1078 new PointF(float.NaN, float.NaN), 1079 new PointF(float.NaN, float.NaN), 1604 thirdPoint = new PointF((float)firstPoint.xPosition, secondYValue); 1606 fourthPoint = new PointF((float)secondPoint.xPosition, secondYValue);
Common\ChartTypes\StackedAreaChart.cs (10)
527 point.positionRel = new PointF(float.NaN, float.NaN); 545 point.positionRel = new PointF(xPosition, yPosition); 558 prevYValue1 = graph.GetAbsolutePoint(new PointF(prevYValue1, prevYValue1)).Y; 572 prevYValue2 = graph.GetAbsolutePoint(new PointF(prevYValue2, prevYValue2)).Y; 866 prevYValue1 = graph.GetAbsolutePoint(new PointF(prevYValue1, prevYValue1)).Y; 879 prevYValue2 = graph.GetAbsolutePoint(new PointF(prevYValue2, prevYValue2)).Y; 972 prevYValue1 = graph.GetAbsolutePoint(new PointF(prevYValue1, prevYValue1)).Y; 985 prevYValue2 = graph.GetAbsolutePoint(new PointF(prevYValue2, prevYValue2)).Y; 1337 thirdPoint = new PointF((float)xValue, (float)yValue); 1366 fourthPoint = new PointF((float)xValue, (float)yValue);
Common\ChartTypes\StackedBarChart.cs (4)
685 point.positionRel = new PointF(float.NaN, float.NaN); 837 point.positionRel = new PointF(rectSize.Right, (float)xPosition); 1402 point.positionRel = new PointF(float.NaN, float.NaN); 1590 point.positionRel = new PointF(rectSize.Right, (float)pointEx.xPosition);
Common\ChartTypes\StackedColumnChart.cs (4)
694 point.positionRel = new PointF(float.NaN, float.NaN); 858 point.positionRel = new PointF((float)xPosition, rectSize.Top); 1443 point.positionRel = new PointF(float.NaN, float.NaN); 1628 point.positionRel = new PointF((float)pointEx.xPosition, rectSize.Top);
Common\ChartTypes\StepLineChart.cs (1)
121 PointF point2 = new PointF(points[pointIndex].X, points[pointIndex - 1].Y);
Common\ChartTypes\StockChart.cs (22)
372 point.positionRel = new PointF(float.NaN, float.NaN); 421 point.positionRel = new PointF((float)xPosition, (float)high); 443 new PointF(xPosition, (float)high), 444 new PointF(xPosition, (float)low), 622 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index); 834 new PointF(rect.X, rect.Y), 835 new PointF(rect.Right, rect.Y), 845PointF point1 = graph.GetAbsolutePoint(new PointF(xPosition, open)); 846PointF point2 = graph.GetAbsolutePoint(new PointF(xPosition - width / 2f, open + height / 2f)); 847PointF point3 = graph.GetAbsolutePoint(new PointF(xPosition - width / 2f, open - height / 2f)); 869point1 = graph.GetAbsolutePoint(new PointF(xPosition, close)); 870point2 = graph.GetAbsolutePoint(new PointF(xPosition + width / 2f, close + height / 2f)); 871point3 = graph.GetAbsolutePoint(new PointF(xPosition + width / 2f, close - height / 2f)); 892 new PointF(xPosition - width/2f, open), 893 new PointF(xPosition, open), 904 new PointF(xPosition, close), 905 new PointF(xPosition + width/2f, close), 1181 point.positionRel = new PointF(float.NaN, float.NaN); 1239 point.positionRel = new PointF((float)xPosition, (float)high); 1360 DrawLabel(common, area, graph, ser, point, new PointF(xPosition, (float)Math.Min(high, low)), index); 1664 new PointF(rect.X, rect.Y), 1665 new PointF(rect.Right, rect.Y),
Common\General\Axis.cs (16)
1962 new PointF(transformedTitlePosition.X, transformedTitlePosition.Y), 1963 new PointF(transformedTitlePosition.Right, transformedTitlePosition.Bottom) }; 2080PointF endPoint = new PointF(rect.X + rect.Width / 2f, rect.Y); 2159PointF absPoint = graph.GetAbsolutePoint(new PointF(position, position)); 2286rotationCenter = new PointF(ChartArea.PlotAreaPosition.X, ChartArea.PlotAreaPosition.Y + ChartArea.PlotAreaPosition.Height / 2f); 2298rotationCenter = new PointF(ChartArea.PlotAreaPosition.Right, ChartArea.PlotAreaPosition.Y + ChartArea.PlotAreaPosition.Height / 2f); 2310rotationCenter = new PointF(ChartArea.PlotAreaPosition.X + ChartArea.PlotAreaPosition.Width / 2f, ChartArea.PlotAreaPosition.Y); 2322rotationCenter = new PointF(ChartArea.PlotAreaPosition.X + ChartArea.PlotAreaPosition.Width / 2f, ChartArea.PlotAreaPosition.Bottom); 2681new PointF(rect.Left, rect.Top), 2682new PointF(rect.Right, rect.Top), 2683new PointF(rect.Right, rect.Bottom), 2684new PointF(rect.Left, rect.Bottom)}; 2781PointF tempPoint = new PointF(point1.X, point1.Y); 4844float spacing = graph.GetAbsolutePoint(new PointF(0, this.markSize + Axis.elementSpacing)).Y; 4908PointF outsidePoint = new PointF(areaCenterAbs.X, plotAreaRectAbs.Y); 4941PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) };
Common\General\AxisScaleSegments.cs (12)
566 points[pointIndex] = new PointF( 571 points[0] = new PointF(startX, y); 572 points[points.Length - 1] = new PointF(endX, y); 588 points[pointIndex] = new PointF( 593 points[0] = new PointF(x, startY); 594 points[points.Length - 1] = new PointF(x, endY); 618 points[pointIndex] = new PointF( 623 points[0] = new PointF(startX, y); 624 points[points.Length - 1] = new PointF(endX, y); 641 points[pointIndex] = new PointF( 646 points[0] = new PointF(x, startY); 647 points[points.Length - 1] = new PointF(x, endY);
Common\General\ChartArea.cs (3)
1825 this.circularCenter = new PointF(plottingRect.X + plottingRect.Width/2f, plottingRect.Y + plottingRect.Height/2f); 2581 float spacing = chartGraph.GetAbsolutePoint(new PointF(0, this.AxisX.markSize + Axis.elementSpacing)).Y; 2738 PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) };
Common\General\ChartGraphics.cs (38)
331 PointF firstShadow = new PointF( firstPoint.X + shadowOffset, firstPoint.Y + shadowOffset); 332 PointF secondShadow = new PointF( secondPoint.X + shadowOffset, secondPoint.Y + shadowOffset ); 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)); 857shadowBrush.CenterPoint = new PointF(point.X, point.Y); 860PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 968shadowBrush.CenterPoint = new PointF(point.X, point.Y); 971PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 1097shadowBrush.CenterPoint = new PointF(point.X, point.Y); 1100PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 1500 rotationPoint = new PointF(backPositionAbs.X + backPositionAbs.Width/2f, backPositionAbs.Y + backPositionAbs.Height/2f); 1719new PointF(absCenter.X - size.Width / 2f, absCenter.Y - size.Height / 2f), 1720new PointF(absCenter.X + size.Width / 2f, absCenter.Y - size.Height / 2f), 1721new PointF(absCenter.X + size.Width / 2f, absCenter.Y + size.Height / 2f), 1722new PointF(absCenter.X - size.Width / 2f, absCenter.Y + size.Height / 2f)}; 2398 PointF centerNotRound = new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F); 2413 PointF axisPositionAbs = new PointF(axisPosRelative, axisPosRelative); 2553 Point center = Point.Round(new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F)); 2917 new PointF(rect.Left, rect.Bottom), 2918 new PointF(rect.Left, rect.Top), 2919 new PointF(rect.Right, rect.Top), 2920 new PointF(rect.Right - shadowSize, rect.Top + shadowSize), 2921 new PointF(rect.Left + shadowSize, rect.Top + shadowSize), 2922 new PointF(rect.Left + shadowSize, rect.Bottom - shadowSize) }; 2938 new PointF(rect.Right, rect.Top), 2939 new PointF(rect.Right, rect.Bottom), 2940 new PointF(rect.Left, rect.Bottom), 2941 new PointF(rect.Left + shadowSize, rect.Bottom - shadowSize), 2942 new PointF(rect.Right - shadowSize, rect.Bottom - shadowSize), 2943 new PointF(rect.Right - shadowSize, rect.Top + shadowSize) }; 3830 shadowBrush.CenterPoint = new PointF(offset.X + offset.Width/2f, offset.Y + offset.Height/2f); 3833 PointF focusScale = new PointF(1-2f*shadowOffset/offset.Width, 1-2f*shadowOffset/offset.Height); 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); 4824 shadowBrush.CenterPoint = new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f); 4827 PointF focusScale = new PointF(1-shadowScale*radius/rect.Width, 1-shadowScale*radius/rect.Height);
Common\General\ChartGraphics3D.cs (37)
1434 polygonPointsFront[0] = new PointF((float)splineDataPoints[0].xPosition, (float)splineDataPoints[0].yPosition); 1435 polygonPointsFront[1] = new PointF((float)splineDataPoints[1].xPosition, (float)splineDataPoints[1].yPosition); 1437 polygonPointsFront[2] = new PointF((float)splineDataPoints[2].xPosition, (float)splineDataPoints[2].yPosition); 1439 polygonPointsFront[3] = new PointF((float)splineDataPoints[3].xPosition, (float)splineDataPoints[3].yPosition); 1447 polygonPointsFront[0] = new PointF((float)splineDataPoints[0].xPosition, secondYValue); 1449 polygonPointsFront[1] = new PointF((float)splineDataPoints[1].xPosition, secondYValue); 1453 polygonPointsFront[2] = new PointF((float)splineDataPoints[2].xPosition, secondYValue); 1458 polygonPointsFront[3] = new PointF((float)splineDataPoints[3].xPosition, secondYValue); 2961 pointsSurface[0] = new PointF(cubePoints[0].X, cubePoints[0].Y); 2962 pointsSurface[1] = new PointF(cubePoints[1].X, cubePoints[1].Y); 2963 pointsSurface[2] = new PointF(cubePoints[2].X, cubePoints[2].Y); 2964 pointsSurface[3] = new PointF(cubePoints[3].X, cubePoints[3].Y); 2968 pointsSurface[0] = new PointF(cubePoints[4].X, cubePoints[4].Y); 2969 pointsSurface[1] = new PointF(cubePoints[5].X, cubePoints[5].Y); 2970 pointsSurface[2] = new PointF(cubePoints[6].X, cubePoints[6].Y); 2971 pointsSurface[3] = new PointF(cubePoints[7].X, cubePoints[7].Y); 2975 pointsSurface[0] = new PointF(cubePoints[0].X, cubePoints[0].Y); 2976 pointsSurface[1] = new PointF(cubePoints[1].X, cubePoints[1].Y); 2977 pointsSurface[2] = new PointF(cubePoints[5].X, cubePoints[5].Y); 2978 pointsSurface[3] = new PointF(cubePoints[4].X, cubePoints[4].Y); 2982 pointsSurface[0] = new PointF(cubePoints[3].X, cubePoints[3].Y); 2983 pointsSurface[1] = new PointF(cubePoints[2].X, cubePoints[2].Y); 2984 pointsSurface[2] = new PointF(cubePoints[6].X, cubePoints[6].Y); 2985 pointsSurface[3] = new PointF(cubePoints[7].X, cubePoints[7].Y); 2989 pointsSurface[0] = new PointF(cubePoints[0].X, cubePoints[0].Y); 2990 pointsSurface[1] = new PointF(cubePoints[3].X, cubePoints[3].Y); 2991 pointsSurface[2] = new PointF(cubePoints[7].X, cubePoints[7].Y); 2992 pointsSurface[3] = new PointF(cubePoints[4].X, cubePoints[4].Y); 2996 pointsSurface[0] = new PointF(cubePoints[1].X, cubePoints[1].Y); 2997 pointsSurface[1] = new PointF(cubePoints[2].X, cubePoints[2].Y); 2998 pointsSurface[2] = new PointF(cubePoints[6].X, cubePoints[6].Y); 2999 pointsSurface[3] = new PointF(cubePoints[5].X, cubePoints[5].Y); 3574shadowBrush.CenterPoint = new PointF(markerRotatedPosition.X, markerRotatedPosition.Y); 3577PointF focusScale = new PointF(1 - 2f * shadowSize / rect.Width, 1 - 2f * shadowSize / rect.Height); 4618 private PointF _coordXY = new PointF(0f, 0f); 4706this._coordXY = new PointF(value.X, value.Y); 4721 this._coordXY = new PointF(x, y);
Common\General\ImageMap.cs (4)
365PointF p = graph.GetAbsolutePoint(new PointF(this.Coordinates[0], this.Coordinates[1])); 368p = graph.GetAbsolutePoint(new PointF(this.Coordinates[2], this.Coordinates[1])); 373PointF p = graph.GetAbsolutePoint(new PointF(this.Coordinates[0], this.Coordinates[1])); 376p = graph.GetAbsolutePoint(new PointF(this.Coordinates[2], this.Coordinates[3]));
Common\General\Label.cs (4)
1161PointF labelRelativePosition = new PointF( 1279 new PointF(labelRect.Right, labelRect.Y), 1280 new PointF(labelRect.Right, labelRect.Bottom), 1281 new PointF(labelRect.X, labelRect.Bottom)
Common\General\Legend.cs (25)
2540 PointF point = new PointF( 4454 new PointF(rect.Left, rect.Bottom - 1), 4455 new PointF(rect.Right, rect.Bottom - 1) ); 4465 new PointF(rect.Right - 1, rect.Top), 4466 new PointF(rect.Right - 1, rect.Bottom) ); 4478 new PointF(rect.Left, rect.Bottom - 1), 4479 new PointF(rect.Right, rect.Bottom - 1) ); 4489 new PointF(rect.Right - 1, rect.Top), 4490 new PointF(rect.Right - 1, rect.Bottom) ); 4502 new PointF(rect.Left, rect.Bottom - 1), 4503 new PointF(rect.Right, rect.Bottom - 1) ); 4513 new PointF(rect.Right - 1, rect.Top), 4514 new PointF(rect.Right - 1, rect.Bottom) ); 4526 new PointF(rect.Left, rect.Bottom - 1f), 4527 new PointF(rect.Right, rect.Bottom - 1f) ); 4536 new PointF(rect.Right - 1f, rect.Top), 4537 new PointF(rect.Right - 1f, rect.Bottom) ); 4549 new PointF(rect.Left, rect.Bottom - 3), 4550 new PointF(rect.Right, rect.Bottom - 3) ); 4555 new PointF(rect.Left, rect.Bottom - 1), 4556 new PointF(rect.Right, rect.Bottom - 1) ); 4565 new PointF(rect.Right - 3, rect.Top), 4566 new PointF(rect.Right - 3, rect.Bottom) ); 4571 new PointF(rect.Right - 1, rect.Top), 4572 new PointF(rect.Right - 1, rect.Bottom) );
Common\General\LegendColumns.cs (1)
2458 PointF pointF = new PointF(point.X, point.Y);
Common\General\Selection.cs (31)
854 PointF circleCenter = graph.GetAbsolutePoint( new PointF( x, y ) ); 2037relativeX = this.Graph.GetRelativePoint(new PointF(x, y)).X; 2038relativeY = this.Graph.GetRelativePoint(new PointF(x, y)).Y; 2772list.Add(new PointF(rect.Left + rect.Width / 2, rect.Top)); 2773list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 2774list.Add(new PointF(rect.Right - rect.Width / 2, rect.Bottom)); 2775list.Add(new PointF(rect.Left, rect.Bottom - rect.Height / 2)); 2809PointF middleP0P3 = new PointF((points[i].X + points[i + 3].X) / 2f, (points[i].Y + points[i + 3].Y) / 2f); 2810PointF middleP1P2 = new PointF((points[i + 1].X + points[i + 2].X) / 2f, (points[i + 1].Y + points[i + 2].Y) / 2f); 3201list.Add(new PointF(rect.Left, rect.Top)); 3202list.Add(new PointF(rect.Right, rect.Top)); 3203list.Add(new PointF(rect.Right, rect.Bottom)); 3204list.Add(new PointF(rect.Left, rect.Bottom)); 3208list.Add(new PointF(rect.Left, rect.Top)); 3209list.Add(new PointF(rect.Right, rect.Top)); 3213list.Add(new PointF(rect.Left, rect.Top)); 3214list.Add(new PointF(rect.Left, rect.Bottom)); 3221list.Add(new PointF(rect.Left, rect.Top)); 3225list.Add(new PointF(rect.Left + rect.Width / 2, rect.Top)); 3228list.Add(new PointF(rect.Right, rect.Top)); 3232list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 3235list.Add(new PointF(rect.Right, rect.Bottom)); 3238list.Add(new PointF(rect.Left + rect.Width / 2, rect.Bottom)); 3241list.Add(new PointF(rect.Left, rect.Bottom)); 3244list.Add(new PointF(rect.Left, rect.Top + rect.Height / 2)); 3250list.Add(new PointF(rect.Left, rect.Top)); 3254list.Add(new PointF(rect.Left + rect.Width / 2, rect.Top)); 3257list.Add(new PointF(rect.Right, rect.Top)); 3261list.Add(new PointF(rect.Left, rect.Bottom)); 3264list.Add(new PointF(rect.Left, rect.Top + rect.Height / 2)); 3266list.Add(new PointF(rect.Left, rect.Top));
Common\General\SmartLabels.cs (7)
1076 PointF centerPos = new PointF( 1094 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Y)) || 1095 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Bottom)) || 1096 !areaPath.IsVisible(new PointF(labelPosition.X, labelPosition.Bottom)) ) 1114 PointF centerPos = new PointF( 1173 PointF labelCenter = new PointF( 1487 PointF position = new PointF(markerPosition.X, markerPosition.Y);
WinForm\Utilities\AccessibleObject.cs (1)
50private PointF _chartScale = new PointF(1f, 1f);
System.Workflow.ComponentModel (4)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
1218PointF zoom = new PointF((float)size.Width / (float)maxExtent.Width, (float)size.Height / (float)maxExtent.Height);
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (1)
183relativeCenterF = new PointF((float)center.X / (float)parentView.HScrollBar.Maximum, (float)center.Y / (float)parentView.VScrollBar.Maximum);
AuthoringOM\Design\WorkflowLayouts.cs (1)
744PointF scaleFactor = new PointF(
AuthoringOM\Design\WorkflowView.cs (1)
351oldRelativeCenter = new PointF((float)oldCenter.X / (float)hScrollBar.Maximum, (float)oldCenter.Y / (float)vScrollBar.Maximum);