126 references to PointF
Microsoft.Maui (1)
Animations\AnimationLerpingExtensions.cs (1)
24
new
PointF
(start.X.Lerp(end.X, progress), start.Y.Lerp(end.Y, progress));
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.Controls.Compatibility (1)
iOS\VisualElementTracker.cs (1)
300
caLayer.AnchorPoint = new
PointF
(anchorX, anchorY);
Microsoft.Maui.Graphics (115)
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 (4)
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);
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);