129 instantiations of PointF
Microsoft.Maui (3)
Animations\AnimationLerpingExtensions.cs (1)
24
new
PointF
(start.X.Lerp(end.X, progress), start.Y.Lerp(end.Y, progress));
Platform\iOS\TransformationExtensions.cs (2)
83
layer.AnchorPoint = new
PointF
(anchorX, anchorY);
93
layer.AnchorPoint = new
PointF
(anchorX, anchorY);
Microsoft.Maui.Controls (5)
Shapes\PathGeometry.cs (5)
150
var pt1 = new
PointF
((float)(polyBezierSegment.Points[bez].X), (float)(polyBezierSegment.Points[bez].Y));
151
var pt2 = new
PointF
((float)(polyBezierSegment.Points[bez + 1].X), (float)(polyBezierSegment.Points[bez + 1].Y));
152
var pt3 = new
PointF
((float)(polyBezierSegment.Points[bez + 2].X), (float)(polyBezierSegment.Points[bez + 2].Y));
176
var pt1 = new
PointF
((float)(points[i].X), (float)(points[i].Y));
177
var pt2 = new
PointF
((float)(points[i + 1].X), (float)(points[i + 1].Y));
Microsoft.Maui.Graphics (117)
ArcFlattener.cs (2)
69
return new
PointF
((float)x2, (float)y2);
76
return new
PointF
(x, y);
GeometryUtil.cs (4)
55
return new
PointF
(x, y);
63
return new
PointF
(x, y);
96
return new
PointF
(fx * cos, fy * sin);
127
return new
PointF
(pivot.X - dx, pivot.Y - dy);
PathBuilder.cs (7)
108
_relativePoint = new
PointF
(0, 0);
630
point = new
PointF
(((PointF)_relativePoint).X + x, ((PointF)_relativePoint).Y + y);
634
point = new
PointF
(x, y);
654
point = new
PointF
(((PointF)_relativePoint).X, ((PointF)_relativePoint).Y + y);
658
point = new
PointF
(((PointF)_relativePoint).X, y);
678
point = new
PointF
(((PointF)_relativePoint).X + x, ((PointF)_relativePoint).Y);
682
point = new
PointF
(x, ((PointF)_relativePoint).Y);
PathF.cs (94)
157
_points[index] = new
PointF
(x, y);
245
return MoveTo(new
PointF
(x, y));
284
return LineTo(new
PointF
(x, y));
331
return AddArc(new
PointF
(x1, y1), new
PointF
(x2, y2), startAngle, endAngle, clockwise);
354
return QuadTo(new
PointF
(cx, cy), new
PointF
(x, y));
391
return CurveTo(new
PointF
(c1X, c1Y), new
PointF
(c2X, c2Y), new
PointF
(x, y));
1047
MoveTo(new
PointF
(minX, midY));
1048
CurveTo(new
PointF
(minX, midY - offsetY), new
PointF
(midX - offsetX, minY), new
PointF
(midX, minY));
1049
CurveTo(new
PointF
(midX + offsetX, minY), new
PointF
(maxX, midY - offsetY), new
PointF
(maxX, midY));
1050
CurveTo(new
PointF
(maxX, midY + offsetY), new
PointF
(midX + offsetX, maxY), new
PointF
(midX, maxY));
1051
CurveTo(new
PointF
(midX - offsetX, maxY), new
PointF
(minX, midY + offsetY), new
PointF
(minX, midY));
1071
MoveTo(new
PointF
(minX, midY));
1072
CurveTo(new
PointF
(minX, midY - offsetY), new
PointF
(midX - offsetX, minY), new
PointF
(midX, minY));
1073
CurveTo(new
PointF
(midX + offsetX, minY), new
PointF
(maxX, midY - offsetY), new
PointF
(maxX, midY));
1074
CurveTo(new
PointF
(maxX, midY + offsetY), new
PointF
(midX + offsetX, maxY), new
PointF
(midX, maxY));
1075
CurveTo(new
PointF
(midX - offsetX, maxY), new
PointF
(minX, midY + offsetY), new
PointF
(minX, midY));
1091
MoveTo(new
PointF
(minX, minY));
1092
LineTo(new
PointF
(maxX, minY));
1093
LineTo(new
PointF
(maxX, maxY));
1094
LineTo(new
PointF
(minX, maxY));
1098
LineTo(new
PointF
(minX, minY));
1121
MoveTo(new
PointF
(minX, minY + cornerRadius));
1122
CurveTo(new
PointF
(minX, minY + cornerOffset), new
PointF
(minX + cornerOffset, minY), new
PointF
(minX + cornerRadius, minY));
1123
LineTo(new
PointF
(maxX - cornerRadius, minY));
1124
CurveTo(new
PointF
(maxX - cornerOffset, minY), new
PointF
(maxX, minY + cornerOffset), new
PointF
(maxX, minY + cornerRadius));
1125
LineTo(new
PointF
(maxX, maxY - cornerRadius));
1126
CurveTo(new
PointF
(maxX, maxY - cornerOffset), new
PointF
(maxX - cornerOffset, maxY), new
PointF
(maxX - cornerRadius, maxY));
1127
LineTo(new
PointF
(minX + cornerRadius, maxY));
1128
CurveTo(new
PointF
(minX + cornerOffset, maxY), new
PointF
(minX, maxY - cornerOffset), new
PointF
(minX, maxY - cornerRadius));
1132
LineTo(new
PointF
(minX, minY + cornerRadius));
1159
MoveTo(new
PointF
(minX, minY + yCornerRadius));
1162
new
PointF
(minX, minY + yCornerOffset),
1163
new
PointF
(minX + xCornerOffset, minY),
1164
new
PointF
(minX + xCornerRadius, minY));
1166
LineTo(new
PointF
(maxX - xCornerRadius, minY));
1169
new
PointF
(maxX - xCornerOffset, minY),
1170
new
PointF
(maxX, minY + yCornerOffset),
1171
new
PointF
(maxX, minY + yCornerRadius));
1173
LineTo(new
PointF
(maxX, maxY - yCornerRadius));
1176
new
PointF
(maxX, maxY - yCornerOffset),
1177
new
PointF
(maxX - xCornerOffset, maxY),
1178
new
PointF
(maxX - xCornerRadius, maxY));
1180
LineTo(new
PointF
(minX + xCornerRadius, maxY));
1183
new
PointF
(minX + xCornerOffset, maxY),
1184
new
PointF
(minX, maxY - yCornerOffset),
1185
new
PointF
(minX, maxY - yCornerRadius));
1187
LineTo(new
PointF
(minX, minY + yCornerRadius));
1207
MoveTo(new
PointF
(minX, minY + topLeftCornerRadius));
1208
CurveTo(new
PointF
(minX, minY + topLeftCornerOffset), new
PointF
(minX + topLeftCornerOffset, minY), new
PointF
(minX + topLeftCornerRadius, minY));
1209
LineTo(new
PointF
(maxX - topRightCornerRadius, minY));
1210
CurveTo(new
PointF
(maxX - topRightCornerOffset, minY), new
PointF
(maxX, minY + topRightCornerOffset), new
PointF
(maxX, minY + topRightCornerRadius));
1211
LineTo(new
PointF
(maxX, maxY - bottomRightCornerRadius));
1212
CurveTo(new
PointF
(maxX, maxY - bottomRightCornerOffset), new
PointF
(maxX - bottomRightCornerOffset, maxY), new
PointF
(maxX - bottomRightCornerRadius, maxY));
1213
LineTo(new
PointF
(minX + bottomLeftCornerRadius, maxY));
1214
CurveTo(new
PointF
(minX + bottomLeftCornerOffset, maxY), new
PointF
(minX, maxY - bottomLeftCornerOffset), new
PointF
(minX, maxY - bottomLeftCornerRadius));
1218
LineTo(new
PointF
(minX, minY + topLeftCornerRadius));
1531
var controlPoint1 = new
PointF
(startPoint.X + 2.0f * (quadControlPoint.X - startPoint.X) / 3.0f, startPoint.Y + 2.0f * (quadControlPoint.Y - startPoint.Y) / 3.0f);
1532
var controlPoint2 = new
PointF
(endPoint.X + 2.0f * (quadControlPoint.X - endPoint.X) / 3.0f, endPoint.Y + 2.0f * (quadControlPoint.Y - endPoint.Y) / 3.0f);
Point.cs (1)
126
public static implicit operator PointF(Point p) => new
PointF
((float)p.X, (float)p.Y);
PointF.cs (6)
17
public static readonly PointF Zero = new
PointF
();
79
return new
PointF
(MathF.Round(X), MathF.Round(Y));
91
return new
PointF
(pt.X + sz.Width, pt.Y + sz.Height);
101
return new
PointF
(pt.X - sz.Width, pt.Y - sz.Height);
126
public static implicit operator PointF(Vector2 v) => new
PointF
(v);
138
pointF = new
PointF
(x, y);
RectF.cs (2)
169
get => new
PointF
(X, Y);
177
public PointF Center => new
PointF
(X + Width / 2, Y + Height / 2);
SizeF.cs (1)
78
return new
PointF
(size.Width, size.Height);
Microsoft.Maui.Graphics.Skia (4)
SKGraphicsExtensions.cs (1)
354
return new
PointF
(target.X, target.Y);
SkiaTextLayout.cs (3)
130
var point = new
PointF
(x, y);
161
var point = new
PointF
(x, y);
190
var point = new
PointF
(x, y);
277 references to PointF
Microsoft.Maui (17)
Animations\AnimationLerpingExtensions.cs (3)
23
public static
PointF
Lerp(this
PointF
start,
PointF
end, double progress) =>
Animations\Lerp.cs (5)
109
[typeof(
PointF
)] = new Lerp
114
var
start = (
PointF
)s;
115
var
end = (
PointF
)e;
Core\IGraphicsView.cs (5)
24
void StartHoverInteraction(
PointF
[] points);
31
void MoveHoverInteraction(
PointF
[] points);
42
void StartInteraction(
PointF
[] points);
48
void DragInteraction(
PointF
[] points);
55
void EndInteraction(
PointF
[] points, bool isInsideBounds);
Graphics\RectangleExtensions.cs (1)
27
public static bool ContainsAny(this RectF rect,
PointF
[] points)
Platform\iOS\ContentView.cs (1)
102
var
clipBoundsCenter = clipBounds.Center;
Platform\iOS\PlatformTouchGraphicsView.cs (2)
100
graphicsView.StartHoverInteraction(new[] { (
PointF
)touch.ToPoint() });
105
graphicsView.MoveHoverInteraction(new[] { (
PointF
)touch.ToPoint() });
Microsoft.Maui.Controls (12)
GraphicsView\GraphicsView.cs (7)
34
void IGraphicsView.DragInteraction(
PointF
[] points) => DragInteraction?.Invoke(this, new TouchEventArgs(points, true));
38
void IGraphicsView.EndInteraction(
PointF
[] points, bool isInsideBounds) => EndInteraction?.Invoke(this, new TouchEventArgs(points, isInsideBounds));
40
void IGraphicsView.StartHoverInteraction(
PointF
[] points) => StartHoverInteraction?.Invoke(this, new TouchEventArgs(points, true));
42
void IGraphicsView.MoveHoverInteraction(
PointF
[] points) => MoveHoverInteraction?.Invoke(this, new TouchEventArgs(points, true));
44
void IGraphicsView.StartInteraction(
PointF
[] points) => StartInteraction?.Invoke(this, new TouchEventArgs(points, true));
53
public TouchEventArgs(
PointF
[] points, bool isInsideBounds)
64
public
PointF
[] Touches { get; private set; }
Shapes\PathGeometry.cs (5)
150
var
pt1 = new PointF((float)(polyBezierSegment.Points[bez].X), (float)(polyBezierSegment.Points[bez].Y));
151
var
pt2 = new PointF((float)(polyBezierSegment.Points[bez + 1].X), (float)(polyBezierSegment.Points[bez + 1].Y));
152
var
pt3 = new PointF((float)(polyBezierSegment.Points[bez + 2].X), (float)(polyBezierSegment.Points[bez + 2].Y));
176
var
pt1 = new PointF((float)(points[i].X), (float)(points[i].Y));
177
var
pt2 = new PointF((float)(points[i + 1].X), (float)(points[i + 1].Y));
Microsoft.Maui.Graphics (185)
ArcFlattener.cs (12)
15
private
PointF
_startPoint;
43
private
PointF
GetPointOnArc(
54
var
point = GetPointAtAngle(0, 0, _radius, radians);
61
private static
PointF
GetPointAtAngle(
72
private static
PointF
GetCenter(
PointF
point1,
PointF
point2)
84
PointF
? endPoint = null;
88
var
midPointOnArc = GetPointOnArc(candidate / 2);
91
var
midPointOnLine = GetCenter(_startPoint, (
PointF
)endPoint);
113
var
point = GetPointOnArc(percentage);
CanvasExtensions.cs (6)
5
public static void DrawLine(this ICanvas target,
PointF
point1,
PointF
point2)
198
public static void FillCircle(this ICanvas target,
PointF
center, float radius)
225
public static void DrawCircle(this ICanvas target,
PointF
center, float radius)
383
public static void SetFillPaint(this ICanvas target, Paint paint,
PointF
point1,
PointF
point2)
Converters\PointFTypeConverter.cs (8)
16
|| destinationType == typeof(
PointF
)
29
return (
PointF
)vec;
31
if (
PointF
.TryParse(value?.ToString(), out
var
p))
34
throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", value, typeof(
PointF
)));
39
if (!(value is
PointF
p))
42
if (destinationType == typeof(
PointF
))
43
return (
PointF
)p;
Converters\PointTypeConverter.cs (3)
16
|| destinationType == typeof(
PointF
)
42
if (destinationType == typeof(
PointF
))
43
return (
PointF
)p;
GeometryUtil.cs (11)
48
public static
PointF
RotatePoint(
PointF
point, float angle)
58
public static
PointF
RotatePoint(
PointF
center,
PointF
point, float angle)
92
public static
PointF
PolarToPoint(float angleInRadians, float fx, float fy)
109
public static
PointF
EllipseAngleToPoint(float x, float y, float width, float height, float angleInDegrees)
116
var
point = PolarToPoint(radians, width / 2, height / 2);
123
public static
PointF
GetOppositePoint(
PointF
pivot,
PointF
oppositePoint)
LayoutLine.cs (1)
5
public delegate void LayoutLine(
PointF
aPoint, ITextAttributes aTextual, string aText, float aAscent, float aDescent, float aLeading);
PathBuilder.cs (39)
23
private
PointF
? _lastCurveControlPoint;
24
private
PointF
? _lastMoveTo;
27
private
PointF
? _relativePoint;
486
var
point = NewPoint(xOffset, yOffset, isRelative, true);
493
var
point = NewPoint(NextValue, NextValue, isRelative, true);
499
var
point = NewHorizontalPoint(NextValue, isRelative, true);
505
var
point = NewVerticalPoint(NextValue, isRelative, true);
511
var
point1 = NewPoint(NextValue, NextValue, isRelative, false);
516
var
point2 = NewPoint(x, y, isRelative, isQuad);
525
var
point3 = NewPoint(NextValue, NextValue, isRelative, true);
534
var
point1 = NewPoint(NextValue, NextValue, isRelative, false);
535
var
point2 = NewPoint(NextValue, NextValue, isRelative, true);
542
var
lastPoint = _path.LastPoint;
543
var
point1 = lastPoint;
544
var
lastCurveControlPoint = _lastCurveControlPoint ?? default;
556
var
point2 = NewPoint(NextValue, NextValue, isRelative, true);
563
PointF
? point1 = null;
564
var
point2 = NewPoint(NextValue, NextValue, isRelative, false);
570
point1 = GeometryUtil.GetOppositePoint((
PointF
)_relativePoint, point2);
574
point1 = GeometryUtil.GetOppositePoint((
PointF
)_relativePoint, (
PointF
)_lastCurveControlPoint);
577
var
point3 = NewPoint(NextValue, NextValue, isRelative, true);
579
_path.CurveTo((
PointF
)point1, point2, point3);
585
var
startPoint = _relativePoint ?? default;
593
var
endPoint = NewPoint(NextValue, NextValue, isRelative, false);
624
private
PointF
NewPoint(float x, float y, bool isRelative, bool isReference)
626
PointF
point = default;
630
point = new PointF(((
PointF
)_relativePoint).X + x, ((
PointF
)_relativePoint).Y + y);
648
private
PointF
NewVerticalPoint(float y, bool isRelative, bool isReference)
650
PointF
point = default;
654
point = new PointF(((
PointF
)_relativePoint).X, ((
PointF
)_relativePoint).Y + y);
658
point = new PointF(((
PointF
)_relativePoint).X, y);
672
private
PointF
NewHorizontalPoint(float x, bool isRelative, bool isReference)
674
PointF
point = default;
678
point = new PointF(((
PointF
)_relativePoint).X + x, ((
PointF
)_relativePoint).Y);
682
point = new PointF(x, ((
PointF
)_relativePoint).Y);
PathExtensions.cs (1)
53
private static void WritePoint(StringWriter writer,
PointF
point, float ppu)
PathF.cs (69)
14
private readonly List<
PointF
> _points;
22
private PathF(List<
PointF
> points, List<float> arcSizes, List<bool> arcClockwise, List<PathOperation> operations, int subPathCount)
50
_points = new List<
PointF
>(path._points);
59
public PathF(
PointF
point) : this()
74
_points = new List<
PointF
>();
92
public
PointF
FirstPoint
112
public IEnumerable<
PointF
> Points
121
public
PointF
LastPoint
143
public
PointF
this[int index]
161
public void SetPoint(int index,
PointF
point)
248
public PathF MoveTo(
PointF
point)
287
public PathF LineTo(
PointF
point)
307
public PathF InsertLineTo(
PointF
point, int index)
334
public PathF AddArc(
PointF
topLeft,
PointF
bottomRight, float startAngle, float endAngle, bool clockwise)
357
public PathF QuadTo(
PointF
controlPoint,
PointF
point)
366
public PathF InsertQuadTo(
PointF
controlPoint,
PointF
point, int index)
394
public PathF CurveTo(
PointF
controlPoint1,
PointF
controlPoint2,
PointF
point)
404
public PathF InsertCurveTo(
PointF
controlPoint1,
PointF
controlPoint2,
PointF
point, int index)
606
public
PointF
[] GetPointsForSegment(int segmentIndex)
669
return Array.Empty<
PointF
>();
792
_points[pointIndex] = (
PointF
)points[points.Length - 1];
873
public PathF Rotate(float angleAsDegrees,
PointF
pivot)
885
var
rotatedPoint = GetRotatedPoint(index++, pivot, angleAsDegrees);
890
var
rotatedPoint = GetRotatedPoint(index++, pivot, angleAsDegrees);
895
var
rotatedControlPoint = GetRotatedPoint(index++, pivot, angleAsDegrees);
896
var
rotatedEndPoint = GetRotatedPoint(index++, pivot, angleAsDegrees);
901
var
rotatedControlPoint1 = GetRotatedPoint(index++, pivot, angleAsDegrees);
902
var
rotatedControlPoint2 = GetRotatedPoint(index++, pivot, angleAsDegrees);
903
var
rotatedEndPoint = GetRotatedPoint(index++, pivot, angleAsDegrees);
908
var
topLeft = GetRotatedPoint(index++, pivot, angleAsDegrees);
909
var
bottomRight = GetRotatedPoint(index++, pivot, angleAsDegrees);
925
public
PointF
GetRotatedPoint(int pointIndex,
PointF
pivotPoint, float angle)
927
var
point = _points[pointIndex];
989
var points = new List<
PointF
>(_points);
1055
public void AppendCircle(
PointF
center, float r)
1306
var
point = _points[i];
1363
var
point = _points[i];
1437
var
point = path[i];
1456
List<
PointF
> flattenedPoints = null;
1457
List<
PointF
> curvePoints = null;
1475
flattenedPoints ??= new List<
PointF
>();
1477
curvePoints ??= new List<
PointF
>();
1481
foreach (
var
point in flattenedPoints)
1486
flattenedPoints ??= new List<
PointF
>();
1489
foreach (
var
point in flattenedPoints)
1494
var
topLeft = _points[pointIndex++];
1495
var
bottomRight = _points[pointIndex++];
1500
foreach (
var
point in flattenedArcPath.Points)
1518
private PathF FlattenArc(
PointF
topLeft,
PointF
bottomRight, float startAngle, float endAngle, bool clockwise, float flattness)
1525
private void QuadToCubic(int pointIndex, List<
PointF
> curvePoints)
1527
var
startPoint = _points[pointIndex - 1];
1528
var
quadControlPoint = _points[pointIndex];
1529
var
endPoint = _points[pointIndex + 1];
1531
var
controlPoint1 = new PointF(startPoint.X + 2.0f * (quadControlPoint.X - startPoint.X) / 3.0f, startPoint.Y + 2.0f * (quadControlPoint.Y - startPoint.Y) / 3.0f);
1532
var
controlPoint2 = new PointF(endPoint.X + 2.0f * (quadControlPoint.X - endPoint.X) / 3.0f, endPoint.Y + 2.0f * (quadControlPoint.Y - endPoint.Y) / 3.0f);
1540
private void FlattenCubicSegment(int index, double flatness, List<
PointF
> curvePoints, List<
PointF
> flattenedPoints)
1591
private Vector2 DeCasteljau(List<
PointF
> curvePoints, int index, float t)
1604
private Vector2 GetPointAsVector(List<
PointF
> curvePoints, int index)
1606
var
point = curvePoints[index];
PictureCanvas.cs (2)
254
public void SetFillPaint(Paint paint,
PointF
point1,
PointF
point2)
Point.cs (1)
126
public static implicit operator
PointF
(Point p) => new PointF((float)p.X, (float)p.Y);
PointF.cs (26)
17
public static readonly
PointF
Zero = new PointF();
44
if (!(o is
PointF
))
47
return this == (
PointF
)o;
52
if (!(o is
PointF
))
55
var
compareTo = (
PointF
)o;
64
public
PointF
Offset(float dx, float dy)
66
PointF
p = this;
72
public
PointF
TransformBy(in Matrix3x2 transform)
77
public
PointF
Round()
84
public static explicit operator SizeF(
PointF
pt)
89
public static
PointF
operator +(
PointF
pt, SizeF sz)
94
public static SizeF operator -(
PointF
ptA,
PointF
ptB)
99
public static
PointF
operator -(
PointF
pt, SizeF sz)
104
public static bool operator ==(
PointF
ptA,
PointF
ptB)
109
public static bool operator !=(
PointF
ptA,
PointF
ptB)
114
public float Distance(
PointF
other)
124
public static implicit operator Point(
PointF
p) => new Point(p.X, p.Y);
126
public static implicit operator
PointF
(Vector2 v) => new PointF(v);
128
public static explicit operator Vector2(
PointF
p) => new Vector2(p.X, p.Y);
130
public static bool TryParse(string value, out
PointF
pointF)
RectF.cs (5)
37
public RectF(
PointF
loc, SizeF sz) : this(loc.X, loc.Y, sz.Width, sz.Height)
86
public bool Contains(
PointF
pt)
167
public
PointF
Location
177
public
PointF
Center => new PointF(X + Width / 2, Y + Height / 2);
203
public RectF Offset(
PointF
dr)
SizeF.cs (1)
76
public static explicit operator
PointF
(SizeF size)
Microsoft.Maui.Graphics.Skia (35)
SKGraphicsExtensions.cs (32)
74
public static SKPoint ToSKPoint(this
PointF
target)
127
var
point = path[pointIndex++];
132
var
point = path[pointIndex++];
138
var
controlPoint = path[pointIndex++];
139
var
point = path[pointIndex++];
144
var
controlPoint1 = path[pointIndex++];
145
var
controlPoint2 = path[pointIndex++];
146
var
point = path[pointIndex++];
152
var
topLeft = path[pointIndex++];
153
var
bottomRight = path[pointIndex++];
201
var
startPoint = target[pointIndex - 1];
204
var
endPoint = target[pointIndex];
210
var
startPoint = target[pointIndex - 1];
213
var
controlPoint = target[pointIndex++];
214
var
endPoint = target[pointIndex];
220
var
startPoint = target[pointIndex - 1];
223
var
controlPoint1 = target[pointIndex++];
224
var
controlPoint2 = target[pointIndex++];
225
var
endPoint = target[pointIndex];
232
var
topLeft = target[pointIndex++];
233
var
bottomRight = target[pointIndex];
261
public static SKPath AsRotatedAndroidPath(this PathF target,
PointF
center, float ppu, float zoom, float angle)
275
var
point = target.GetRotatedPoint(pointIndex++, center, angle);
280
var
endPoint = target.GetRotatedPoint(pointIndex++, center, angle);
285
var
controlPoint1 = target.GetRotatedPoint(pointIndex++, center, angle);
286
var
endPoint = target.GetRotatedPoint(pointIndex++, center, angle);
295
var
controlPoint1 = target.GetRotatedPoint(pointIndex++, center, angle);
296
var
controlPoint2 = target.GetRotatedPoint(pointIndex++, center, angle);
297
var
endPoint = target.GetRotatedPoint(pointIndex++, center, angle);
308
var
topLeft = target[pointIndex++];
309
var
bottomRight = target[pointIndex++];
352
public static
PointF
AsPointF(this SKPoint target)
SkiaTextLayout.cs (3)
130
var
point = new PointF(x, y);
161
var
point = new PointF(x, y);
190
var
point = new PointF(x, y);
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (28)
src\Graphics\src\Graphics\Platforms\Windows\GraphicsExtensions.cs (24)
154
var
point = path[pointIndex++];
161
var
point = path[pointIndex++];
167
var
controlPoint = path[pointIndex++];
168
var
endPoint = path[pointIndex++];
176
var
controlPoint1 = path[pointIndex++];
177
var
controlPoint2 = path[pointIndex++];
178
var
endPoint = path[pointIndex++];
186
var
topLeft = path[pointIndex++];
187
var
bottomRight = path[pointIndex++];
210
var
startPoint = GeometryUtil.EllipseAngleToPoint(rectX, rectY, rectWidth, rectHeight, -startAngle);
211
var
endPoint = GeometryUtil.EllipseAngleToPoint(rectX, rectY, rectWidth, rectHeight, -endAngle);
278
var
startPoint = path[segmentStartingPointIndex - 1];
281
var
point = path[segmentStartingPointIndex];
287
var
startPoint = path[segmentStartingPointIndex - 1];
290
var
controlPoint = path[segmentStartingPointIndex++];
291
var
endPoint = path[segmentStartingPointIndex];
299
var
startPoint = path[segmentStartingPointIndex - 1];
302
var
controlPoint1 = path[segmentStartingPointIndex++];
303
var
controlPoint2 = path[segmentStartingPointIndex++];
304
var
endPoint = path[segmentStartingPointIndex];
314
var
topLeft = path[pointIndex++];
315
var
bottomRight = path[pointIndex];
338
var
startPoint = GeometryUtil.EllipseAngleToPoint(rectX, rectY, rectWidth, rectHeight, -startAngle);
339
var
endPoint = GeometryUtil.EllipseAngleToPoint(rectX, rectY, rectWidth, rectHeight, -endAngle);
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (4)
186
var
startPoint = GeometryUtil.EllipseAngleToPoint((float)_rect.X, (float)_rect.Y, (float)_rect.Width, (float)_rect.Height, -startAngle);
187
var
endPoint = GeometryUtil.EllipseAngleToPoint((float)_rect.X, (float)_rect.Y, (float)_rect.Width, (float)_rect.Height, -endAngle);
574
var
startPoint = GeometryUtil.EllipseAngleToPoint((float)_rect.X, (float)_rect.Y, (float)_rect.Width, (float)_rect.Height, -startAngle);
575
var
endPoint = GeometryUtil.EllipseAngleToPoint((float)_rect.X, (float)_rect.Y, (float)_rect.Width, (float)_rect.Height, -endAngle);