9 references to POINTS
System.Private.Windows.Core (1)
Windows\Win32\Foundation\POINTS.cs (1)
10
public static implicit operator Point(
POINTS
point) => new(point.x, point.y);
System.Windows.Forms.Primitives.TestUtilities (8)
Metafiles\RecordTypes\EMRPOLY16.cs (3)
29
private
POINTS
_apts;
31
public unsafe ReadOnlySpan<
POINTS
> points
35
fixed (
POINTS
* p = &_apts)
Metafiles\RecordTypes\EMRPOLYPOLY16.cs (4)
67
public unsafe ReadOnlySpan<
POINTS
> GetPointsForPoly(int index)
75
POINTS
* currentPoint = (
POINTS
*)((byte*)s + sizeof(EMRPOLYPOLY16) + (sizeof(uint) * (nPolys - 1)));
83
return new ReadOnlySpan<
POINTS
>(currentPoint, (int)counts[current]);
Metafiles\Validators\Poly16Validator.cs (1)
37
Assert.Equal(_points, poly->points.Transform<
POINTS
, Point>(p => p));