[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.FontFallbackBuilder

FontFallbackBuilder Class

IDWriteFontFallbackBuilder

Inheritance
FontFallbackBuilder
Implements
Namespace: C1.Util.DX.DirectWrite
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("FD882D06-8ABA-4FB8-B849-8BE8B73E14DE")]
public class FontFallbackBuilder : ComObject, IDisposable, IUnknown

Constructors

Name Description
FontFallbackBuilder(IntPtr)

Initializes a new instance of the FontFallbackBuilder class.

Methods

Name Description
AddMapping(UnicodeRange[], IntPtr[], FontCollection, string, string, float)

HRESULT AddMapping(DWRITE_UNICODE_RANGE* ranges, UINT32 rangesCount, [in] WCHAR** targetFamilyNames, UINT32 targetFamilyNamesCount, [in, optional] IDWriteFontCollection fontCollection, [in, optional] WCHAR* localeName, [in, optional] WCHAR* baseFamilyName, FLOAT scale)

AddMapping(UnicodeRange[], IntPtr[], IntPtr, IntPtr, IntPtr, float)

HRESULT AddMapping(DWRITE_UNICODE_RANGE* ranges, UINT32 rangesCount, [in] WCHAR** targetFamilyNames, UINT32 targetFamilyNamesCount, [in, optional] IDWriteFontCollection fontCollection, [in, optional] WCHAR* localeName, [in, optional] WCHAR* baseFamilyName, FLOAT scale)

AddMapping(UnicodeRange[], string[], FontCollection, string, string, float)

Appends a single mapping to the list. Call this once for each additional mapping.

AddMappings(FontFallback)

HRESULT AddMappings(IDWriteFontFallback* fontFallback)

CreateFontFallback()

HRESULT CreateFontFallback([out] IDWriteFontFallback** fontFallback)

Operators

Name Description
explicit operator FontFallbackBuilder(IntPtr)

Performs an explicit conversion from IntPtr to FontFallbackBuilder.