IDWriteGdiInterop 介面 (dwrite.h)

提供與 GDI 的互操作性,例如將字型臉部轉換成 LOGFONT 結構的方法,或將 GDI 字型描述轉換成字型臉部。 它也可用來建立位圖轉譯目標物件。

繼承

IDWriteGdiInterop 介面繼承自 IUnknown 介面。 IDWriteGdiInterop 也有下列類型的成員:

方法

IDWriteGdiInterop 介面具有這些方法。

 
IDWriteGdiInterop::ConvertFontFaceToLOGFONT

根據指定字型的 GDI 相容屬性,初始化 LOGFONT 結構。 (IDWriteGdiInterop.ConvertFontFaceToLOGFONT)
IDWriteGdiInterop::ConvertFontToLOGFONT

根據指定字型的 GDI 相容屬性,初始化 LOGFONT 結構。 (IDWriteGdiInterop.ConvertFontToLOGFONT)
IDWriteGdiInterop::CreateBitmapRenderTarget

建立物件,該物件會封裝位圖和記憶體 DC (裝置內容) ,可用於轉譯字元。
IDWriteGdiInterop::CreateFontFaceFromHdc

建立IDWriteFontFace物件,該對象對應至目前所選HDC的HFONT。
IDWriteGdiInterop::CreateFontFromLOGFONT

建立符合 LOGFONT 結構所指定屬性的字型物件。 (IDWriteGdiInterop.CreateFontFromLOGFONT)

規格需求

需求
最低支援的用戶端 適用於 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 dwrite.h

另請參閱

與 GDI 互操作