Share via


GradientMeshPatch-Funktion (d2d1_3helper.h)

Erstellt eine D2D1_GRADIENT_MESH_PATCH-Struktur , die die angegebenen Kontrollpunkte, Farben und Begrenzungsflags enthält.

Syntax

D2D1_GRADIENT_MESH_PATCH GradientMeshPatch(
  D2D1_POINT_2F        point00,
  D2D1_POINT_2F        point01,
  D2D1_POINT_2F        point02,
  D2D1_POINT_2F        point03,
  D2D1_POINT_2F        point10,
  D2D1_POINT_2F        point11,
  D2D1_POINT_2F        point12,
  D2D1_POINT_2F        point13,
  D2D1_POINT_2F        point20,
  D2D1_POINT_2F        point21,
  D2D1_POINT_2F        point22,
  D2D1_POINT_2F        point23,
  D2D1_POINT_2F        point30,
  D2D1_POINT_2F        point31,
  D2D1_POINT_2F        point32,
  D2D1_POINT_2F        point33,
  D2D1_COLOR_F         color00,
  D2D1_COLOR_F         color03,
  D2D1_COLOR_F         color30,
  D2D1_COLOR_F         color33,
  D2D1_PATCH_EDGE_MODE topEdgeMode,
  D2D1_PATCH_EDGE_MODE leftEdgeMode,
  D2D1_PATCH_EDGE_MODE bottomEdgeMode,
  D2D1_PATCH_EDGE_MODE rightEdgeMode
);

Parameter

point00

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Steuerungspunkts an Position 00.

point01

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Steuerungspunkts an Position 01.

point02

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Steuerungspunkts an Position 02.

point03

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Steuerungspunkts an Position 03.

point10

Typ: D2D1_POINT_2F

Der Koordinatenraum des Kontrollpunkts an Position 10.

point11

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Kontrollpunkts an Position 11.

point12

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Steuerungspunkts an Position 12.

point13

Typ: D2D1_POINT_2F

Der Koordinatenraum des Kontrollpunkts an Position 13.

point20

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Steuerungspunkts an Position 20.

point21

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Kontrollpunkts an Position 21.

point22

Typ: D2D1_POINT_2F

Der Koordinatenraum des Kontrollpunkts an Position 22.

point23

Typ: D2D1_POINT_2F

Der Koordinatenraum des Kontrollpunkts an Position 23.

point30

Typ: D2D1_POINT_2F

Der Koordinatenraum des Kontrollpunkts an Position 30.

point31

Typ: D2D1_POINT_2F

Der Koordinatenraum des Kontrollpunkts an Position 31.

point32

Typ: D2D1_POINT_2F

Der Koordinatenraum des Kontrollpunkts an Position 32.

point33

Typ: D2D1_POINT_2F

Die Koordinatenraumposition des Kontrollpunkts an Position 33.

color00

Typ: D2D1_COLOR_F

Die Farbe, die dem Steuerungspunkt an Position 00 zugeordnet ist.

color03

Typ: D2D1_COLOR_F

Die Farbe, die dem Steuerungspunkt an Position 03 zugeordnet ist.

color30

Typ: D2D1_COLOR_F

Die Farbe, die dem Steuerungspunkt an Position 30 zugeordnet ist.

color33

Typ: D2D1_COLOR_F

Die Farbe, die dem Steuerungspunkt an Position 33 zugeordnet ist.

topEdgeMode

Typ: D2D1_PATCH_EDGE_MODE

Gibt an, wie der obere Rand des Gitternetzes gerendert wird.

leftEdgeMode

Typ: D2D1_PATCH_EDGE_MODE

Gibt an, wie der linke Rand des Gitternetzes gerendert werden soll.

bottomEdgeMode

Typ: D2D1_PATCH_EDGE_MODE

Gibt an, wie der untere Rand des Gitternetzes gerendert wird.

rightEdgeMode

Typ: D2D1_PATCH_EDGE_MODE

Gibt an, wie der rechte Rand des Gitters gerendert wird.

Rückgabewert

Typ: D2D1_GRADIENT_MESH_PATCH

Gibt die erstellte D2D1_GRADIENT_MESH_PATCH-Struktur zurück.

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

Weitere Informationen

D2D1_GRADIENT_MESH_PATCH