Vector2F-Funktion (d2d1_1helper.h)

Gibt eine gefüllte D2D1_VECTOR_2F-Struktur zurück.

Syntax

D2D1_VECTOR_2F Vector2F(
  FLOAT x,
  FLOAT y
);

Parameter

x

Typ: FLOAT

Der x-Wert des Vektors.

y

Typ: FLOAT

Der y-Wert des Vektors.

Rückgabewert

Typ: D2D1_VECTOR_2F

Ein Vektor mit 2 FLOAT-Werten (x, y).

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 d2d1_1helper.h
Bibliothek D2d1.lib
DLL D2d1.dll