[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.GdiInterop

GdiInterop Class

IDWriteGdiInterop

Inheritance
GdiInterop
Implements
Namespace: C1.Util.DX.DirectWrite
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("1edd9491-9853-4299-898f-6432983b6f3a")]
public class GdiInterop : ComObject, IDisposable, IUnknown

Constructors

Name Description
GdiInterop(IntPtr)

Initializes a new instance of the GdiInterop class.

Methods

Name Description
ConvertFontFaceToLOGFONT(FontFace, IntPtr)

HRESULT IDWriteGdiInterop::ConvertFontFaceToLOGFONT([In] IDWriteFontFace* font,[In] void* logFont)

ConvertFontToLOGFONT(Font, IntPtr, out Bool)

HRESULT IDWriteGdiInterop::ConvertFontToLOGFONT([In] IDWriteFont* font,[In] void* logFont,[Out] BOOL* isSystemFont)

CreateBitmapRenderTarget(IntPtr, int, int)

HRESULT IDWriteGdiInterop::CreateBitmapRenderTarget([In, Optional] HDC hdc,[In] unsigned int width,[In] unsigned int height,[Out] IDWriteBitmapRenderTarget** renderTarget)

CreateFontFaceFromHdc(IntPtr)

HRESULT IDWriteGdiInterop::CreateFontFaceFromHdc([In] HDC hdc,[Out] IDWriteFontFace** fontFace)

CreateFontFromLOGFONT(IntPtr)

HRESULT IDWriteGdiInterop::CreateFontFromLOGFONT([In] const void* logFont,[Out] IDWriteFont** font)

FromLogFont(object)

Creates a font object that matches the properties specified by the LOGFONT structure.

FromSystemDrawingFont(Font)

Creates a font object that matches the properties specified by the LOGFONT structure.

ToLogFont(Font, object)

Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font.

ToSystemDrawingFont(Font, out Font)

Convert a Direct2D Font to a Font.

Operators

Name Description
explicit operator GdiInterop(IntPtr)

Performs an explicit conversion from IntPtr to GdiInterop.