Win32ScaledFont.selectFont

Selects the font into the given device context and changes the map mode and world transformation of the device context to match that of the font. This function is intended for use when using layout APIs such as Uniscribe to do text layout with the cairo font. After finishing using the device context, you must call Win32ScaledFont.doneFont() to release any resources allocated by this function.

See Win32ScaledFont.getMetricsFactor() for converting logical coordinates from the device context to font space.

Normally, calls to SaveDC() and RestoreDC() would be made around the use of this function to preserve the original graphics state.

class Win32ScaledFont
void
selectFont
(
HDC hdc
)

Meta