IDWriteBitmapRenderTarget ::GetCurrentTransform, méthode (dwrite.h)

Obtient la transformation qui mappe les coordonnées abstraites aux DIPs. Par défaut, il s’agit de la transformation d’identité. Notez que cela n’est pas lié à la transformation mondiale du contexte d’appareil sous-jacent.

Syntaxe

HRESULT GetCurrentTransform(
  [out] DWRITE_MATRIX *transform
);

Paramètres

[out] transform

Type : DWRITE_MATRIX*

Lorsque cette méthode retourne, contient une matrice de transformation.

Valeur retournée

Type : HRESULT

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
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 dwrite.h
Bibliothèque Dwrite.lib
DLL Dwrite.dll

Voir aussi

IDWriteBitmapRenderTarget