Point2U-Funktion (d2d1helper.h)

Erstellt eine D2D1_POINT_2U-Struktur , die die angegebenen x- und y-Koordinaten enthält.

Syntax

D2D1_POINT_2U Point2U(
  UINT32 x,
  UINT32 y
);

Parameter

x

Typ: UINT32

Die x-Koordinate des Punkts. Der Standardwert ist 0.

y

Typ: UINT32

Die y-Koordinate des Punkts. Der Standardwert ist 0.

Rückgabewert

Typ: D2D1_POINT_2U

Der neue Punkt.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 7, Windows Vista mit SP2 und Plattformupdate für Windows Vista [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 R2, Windows Server 2008 mit SP2 und Plattformupdate für Windows Server 2008 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile d2d1helper.h
Bibliothek D2d1.lib
DLL D2d1.dll