IDWritePixelSnapping interface (dwrite.h)

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

Inheritance

The IDWritePixelSnapping interface inherits from the IUnknown interface. IDWritePixelSnapping also has these types of members:

Methods

The IDWritePixelSnapping interface has these methods.

 
IDWritePixelSnapping::GetCurrentTransform

Gets a transform that maps abstract coordinates to DIPs.
IDWritePixelSnapping::GetPixelsPerDip

Gets the number of physical pixels per DIP.

Requirements

Requirement Value
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