11 writes to X
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (11)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (11)
189
_point1.
X
= startPoint.X;
192
_point2.
X
= endPoint.X;
228
_point1.
X
= x + width / 2;
233
_point1.
X
= x;
283
_point1.
X
= (float)_rect.X;
361
_point1.
X
= x;
475
_linearGradientStartPoint.
X
= x1;
477
_linearGradientEndPoint.
X
= x2;
488
_radialGradientCenter.
X
= centerX;
577
_point1.
X
= startPoint.X;
580
_point2.
X
= endPoint.X;
63 references to X
Microsoft.Maui.Graphics (13)
Matrix3x2Extensions.cs (5)
78
matrix.M11 *= scale.
X
;
79
matrix.M12 *= scale.
X
;
132
m.M11 *= scale.
X
;
133
m.M12 *= scale.
X
;
136
m.M31 = translation.
X
;
PathF.cs (3)
1561
flattenedPoints.Add(new Point(vector.
X
, vector.Y));
1575
flattenedPoints.Add(new Point(vectors[i].
X
, vectors[i].Y));
1587
flattenedPoints.Add(new Point(vectors[3].
X
, vectors[3].Y));
Point.cs (1)
44
X = v.
X
;
PointF.cs (1)
38
X = v.
X
;
Size.cs (1)
29
Width = vector.
X
;
SizeF.cs (2)
29
Width = vector.
X
;
88
return new SizeF(size.
X
, size.Y);
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (3)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (3)
198
new Vector2(_point2.
X
, _point2.Y),
586
new Vector2(_point2.
X
, _point2.Y),
809
imageSession.Transform = CurrentState.Matrix.Translate(CurrentState.ShadowOffset.
X
, CurrentState.ShadowOffset.Y);
System.Drawing.Primitives (2)
System\Drawing\PointF.cs (1)
40
x = vector.
X
;
System\Drawing\SizeF.cs (1)
51
width = vector.
X
;
System.Private.CoreLib (45)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.Impl.cs (28)
72
left.X.
X
* right.X.
X
+ left.X.Y * right.Y.
X
,
73
left.X.
X
* right.X.Y + left.X.Y * right.Y.Y
76
left.Y.
X
* right.X.
X
+ left.Y.Y * right.Y.
X
,
77
left.Y.
X
* right.X.Y + left.Y.Y * right.Y.Y
80
left.Z.
X
* right.X.
X
+ left.Z.Y * right.Y.
X
+ right.Z.
X
,
81
left.Z.
X
* right.X.Y + left.Z.Y * right.Y.Y + right.Z.Y
211
float x = centerPoint.
X
* (1 - c) + centerPoint.Y * s;
212
float y = centerPoint.Y * (1 - c) - centerPoint.
X
* s;
232
result.X = Vector2.CreateScalar(scales.
X
);
268
result.X = Vector2.CreateScalar(scales.
X
);
318
float ty = -centerPoint.
X
* yTan;
356
float det = (matrix.X.
X
* matrix.Y.Y) - (matrix.Y.
X
* matrix.X.Y);
376
-matrix.Y.
X
* invDet,
377
+matrix.X.
X
* invDet
380
(matrix.Y.
X
* matrix.Z.Y - matrix.Z.
X
* matrix.Y.Y) * invDet,
381
(matrix.Z.
X
* matrix.X.Y - matrix.X.
X
* matrix.Z.Y) * invDet
433
return (X.
X
* Y.Y) - (Y.
X
* X.Y);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (16)
55
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
394
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
414
/// <summary>Creates a vector with <see cref="
X
" /> initialized to the specified value and the remaining elements initialized to zero.</summary>
415
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
416
/// <returns>A new <see cref="Vector2" /> with <see cref="
X
" /> initialized <paramref name="x" /> and the remaining elements initialized to zero.</returns>
420
/// <summary>Creates a vector with <see cref="
X
" /> initialized to the specified value and the remaining elements left uninitialized.</summary>
421
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
422
/// <returns>A new <see cref="Vector2" /> with <see cref="
X
" /> initialized <paramref name="x" /> and the remaining elements left uninitialized.</returns>
858
/// <param name="xIndex">The index used to select a value from <paramref name="vector" /> to be used as the value of <see cref="
X
" /> in the result.</param>
907
Vector2 result = matrix.X * position.
X
;
933
Vector2 result = matrix.X * normal.
X
;
945
Vector4 result = matrix.X * normal.
X
;
1037
/// <remarks>The current instance and <paramref name="obj" /> are equal if <paramref name="obj" /> is a <see cref="Vector2" /> object and their <see cref="
X
" /> and <see cref="Y" /> elements are equal.</remarks>
1043
/// <remarks>Two vectors are equal if their <see cref="
X
" /> and <see cref="Y" /> elements are equal.</remarks>
1049
public override readonly int GetHashCode() => HashCode.Combine(
X
, Y);
1088
return $"<{
X
.ToString(format, formatProvider)}{separator} {Y.ToString(format, formatProvider)}>";
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
975
Vector4 result = matrix.X * position.
X
;