Share via


SizeF-Funktion (d2d1helper.h)

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

Syntax

D2D1_SIZE_F SizeF(
  FLOAT width,
  FLOAT height
);

Parameter

width

Typ: FLOAT

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

height

Typ: FLOAT

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

Rückgabewert

Typ: D2D1_SIZE_F

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