IDWriteGdiInterop interface (dwrite.h)
Provides interoperability with GDI, such as methods to convert a font face to a LOGFONT structure, or to convert a GDI font description into a font face. It is also used to create bitmap render target objects.
Inheritance
The IDWriteGdiInterop interface inherits from the IUnknown interface. IDWriteGdiInterop also has these types of members:
Methods
The IDWriteGdiInterop interface has these methods.
IDWriteGdiInterop::ConvertFontFaceToLOGFONT Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font. (IDWriteGdiInterop.ConvertFontFaceToLOGFONT) |
IDWriteGdiInterop::ConvertFontToLOGFONT Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font. (IDWriteGdiInterop.ConvertFontToLOGFONT) |
IDWriteGdiInterop::CreateBitmapRenderTarget Creates an object that encapsulates a bitmap and memory DC (device context) which can be used for rendering glyphs. |
IDWriteGdiInterop::CreateFontFaceFromHdc Creates an IDWriteFontFace object that corresponds to the currently selected HFONT of the specified HDC. |
IDWriteGdiInterop::CreateFontFromLOGFONT Creates a font object that matches the properties specified by the LOGFONT structure. (IDWriteGdiInterop.CreateFontFromLOGFONT) |
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 |