IDWritePixelSnapping.GetPixelsPerDip

<summary> Gets the number of physical pixels per DIP. A DIP (device-independent pixel) is 1/96 inch, so the pixelsPerDip value is the number of logical pixels per inch divided by 96 (yielding a value of 1 for 96 DPI and 1.25 for 120). </summary> <param name="clientDrawingContext">The context passed to IDWriteTextLayout::Draw.</param> <param name="pixelsPerDip">Receives the number of physical pixels per DIP.</param> <returns> Standard HRESULT error code. </returns>

interface IDWritePixelSnapping
extern (Windows)
HRESULT
GetPixelsPerDip

Meta