IDWritePixelSnapping interface

Defines the pixel snapping properties such as pixels per DIP(device-independent pixel) and the current transform matrix of a text renderer.


The IDWritePixelSnapping interface has these methods.

Method Description
IDWritePixelSnapping::GetCurrentTransform Gets a transform that maps abstract coordinates to DIPs.
IDWritePixelSnapping::GetPixelsPerDip Gets the number of physical pixels per DIP.


Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite.h