IDWriteGdiInterop interface
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.
Members
The IDWriteGdiInterop interface inherits from the IUnknown interface. IDWriteGdiInterop also has these types of members:
Methods
The IDWriteGdiInterop interface has these methods.
| Method | Description |
|---|---|
| ConvertFontFaceToLOGFONT |
Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font. |
| ConvertFontToLOGFONT |
Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font. |
| CreateBitmapRenderTarget |
Creates an object that encapsulates a bitmap and memory DC (device context) which can be used for rendering glyphs. |
| CreateFontFaceFromHdc |
Creates an IDWriteFontFace object that corresponds to the currently selected HFONT of the specified HDC. |
| CreateFontFromLOGFONT |
Creates a font object that matches the properties specified by the LOGFONT structure. |
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also