Fonction BrushProperties (d2d1helper.h)

Crée une structure D2D1_BRUSH_PROPERTIES .

Syntaxe

D2D1_BRUSH_PROPERTIES BrushProperties(
  [in]      FLOAT                     opacity,
  [in, ref] const D2D1_MATRIX_3X2_F & transform
);

Paramètres

[in] opacity

Type : FLOAT

Opacité de base du pinceau. La valeur par défaut est 1,0.

[in, ref] transform

Type : const D2D1_MATRIX_3X2_F

Transformation à appliquer au pinceau. La valeur par défaut est D2D1::IdentityMatrix.

Valeur retournée

Type : D2D1_BRUSH_PROPERTIES

Nouvelle structure de propriétés de pinceau.

Configuration requise

   
Client minimal pris en charge Windows 7, Windows Vista avec SP2 et Mise à jour de plateforme pour Windows Vista [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2008 R2, Windows Server 2008 avec SP2 et Mise à jour de plateforme pour Windows Server 2008 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête d2d1helper.h
Bibliothèque D2d1.lib
DLL D2d1.dll

Voir aussi

ID2D1Brush