IDWriteGdiInterop interface

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

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.

MethodDescription
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]

Header

Dwrite.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

Interoperating with GDI

 

 

Send comments about this topic to Microsoft

Build date: 11/22/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.