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;
58 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)
40x = vector.X;
System\Drawing\SizeF.cs (1)
51width = vector.X;
System.Private.CoreLib (40)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.Impl.cs (28)
149left.X.X * right.X.X + left.X.Y * right.Y.X, 150left.X.X * right.X.Y + left.X.Y * right.Y.Y 153left.Y.X * right.X.X + left.Y.Y * right.Y.X, 154left.Y.X * right.X.Y + left.Y.Y * right.Y.Y 157left.Z.X * right.X.X + left.Z.Y * right.Y.X + right.Z.X, 158left.Z.X * right.X.Y + left.Z.Y * right.Y.Y + right.Z.Y 288float x = centerPoint.X * (1 - c) + centerPoint.Y * s; 289float y = centerPoint.Y * (1 - c) - centerPoint.X * s; 309result.X = Vector2.CreateScalar(scales.X); 345result.X = Vector2.CreateScalar(scales.X); 395float ty = -centerPoint.X * yTan; 433float det = (matrix.X.X * matrix.Y.Y) - (matrix.Y.X * matrix.X.Y); 453-matrix.Y.X * invDet, 454+matrix.X.X * invDet 457(matrix.Y.X * matrix.Z.Y - matrix.Z.X * matrix.Y.Y) * invDet, 458(matrix.Z.X * matrix.X.Y - matrix.X.X * matrix.Z.Y) * invDet 510return (X.X * Y.Y) - (Y.X * X.Y);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (11)
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> 909Vector2 result = matrix.X * position.X; 937Vector2 result = matrix.X * normal.X; 951Vector4 result = matrix.X * normal.X;
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
977Vector4 result = matrix.X * position.X;