SizeU-Funktion (d2d1helper.h)

Erstellt eine D2D1_SIZE_U-Struktur , die die angegebene Breite und Höhe enthält.

Syntax

D2D1_SIZE_U SizeU(
  UINT32 width,
  UINT32 height
);

Parameter

width

Typ: UINT32

Die Breite der Größe. Der Standardwert ist 0.

height

Typ: UINT32

Die Höhe der Größe. Der Standardwert ist 0.

Rückgabewert

Typ: D2D1_SIZE_U

Die neue Größenstruktur.

Anforderungen

   
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