共用方式為


D2D1_POINT_2L structure

The POINT structure defines the x- and y- coordinates of a point.

Syntax

typedef struct _D2D1_POINT2L {
  LONG x;
  LONG y;
} D2D1_POINT_2L, *PD2D1_POINT_2L;

Members

  • x
    The x-coordinate of the point.

  • y
    The y-coordinate of the point.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1helper.h

Type library

D2d1.lib