Share via


IDWriteBitmapRenderTarget::SetCurrentTransform Method

Sets the transform that maps abstract coordinate to DIPs (device-independent pixel). This does not affect the world transform of the underlying device context.

Syntax

virtual HRESULT SetCurrentTransform(
  [in, optional]  const DWRITE_MATRIX * transform
) = 0;

Parameter

  • transform [in, optional]
    Specifies the new transform. This parameter can be NULL, in which case the identity transform is implied.

Rückgabewert

Ist Methode erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll

Siehe auch

IDWriteBitmapRenderTarget