Graphics::D rawPath, méthode (gdiplusgraphics.h)

La méthode Graphics::D rawPath dessine une séquence de lignes et de courbes définies par un objet GraphicsPath .

Syntaxe

Status DrawPath(
  [in] const Pen          *pen,
  [in] const GraphicsPath *path
);

Paramètres

[in] pen

Type : stylet* const

Pointeur vers un stylet utilisé pour dessiner le chemin.

[in] path

Type : const GraphicsPath*

Pointeur vers un objet GraphicsPath qui spécifie la séquence de lignes et de courbes qui composent le chemin.

Valeur retournée

Type : État

Si la méthode réussit, elle retourne Ok, qui est un élément de l’énumération Status .

Si la méthode échoue, elle retourne l’un des autres éléments de l’énumération Status .

Configuration requise

   
Client minimal pris en charge Windows XP, Windows 2000 Professionnel [applications de bureau uniquement]
Serveur minimal pris en charge Windows 2000 Server [applications de bureau uniquement]
Plateforme cible Windows
En-tête gdiplusgraphics.h (inclure Gdiplus.h)
Bibliothèque Gdiplus.lib
DLL Gdiplus.dll

Voir aussi

Création de figures à partir de lignes, de courbes et de formes

FillPie, méthodes

Graphismes

Graphicspath

Chemins d’accès