Table of Contents

Class FontFallbackBuilder

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll
[Guid("FD882D06-8ABA-4FB8-B849-8BE8B73E14DE")]
public class FontFallbackBuilder : ComObject
Inheritance
FontFallbackBuilder

Constructors

FontFallbackBuilder(nint)

public FontFallbackBuilder(nint nativePtr)

Parameters

nativePtr nint

Methods

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

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

public void AddMapping(UnicodeRange[] ranges, int rangesCount, string targetFamilyNames, int targetFamilyNamesCount, FontCollection fontCollection, string localeName, string baseFamilyName, float scale)

Parameters

ranges UnicodeRange[]

Unicode ranges that apply to this mapping.

rangesCount int

Number of Unicode ranges.

targetFamilyNames string

List of target family name strings.

targetFamilyNamesCount int

Number of target family names.

fontCollection FontCollection

Optional explicit font collection for this mapping.

localeName string

Locale of the context.

baseFamilyName string

Base family name to match against, if applicable.

scale float

Scale factor to multiply the result target font by.

AddMappings(FontFallback)

Add all the mappings from an existing font fallback object.

public void AddMappings(FontFallback fontFallback)

Parameters

fontFallback FontFallback

An existing font fallback object.

CreateFontFallback(out FontFallback)

Creates the finalized fallback object from the mappings added.

public void CreateFontFallback(out FontFallback fontFallback)

Parameters

fontFallback FontFallback

Contains an address of a reference to the created fallback list.

Operators

explicit operator FontFallbackBuilder(nint)

public static explicit operator FontFallbackBuilder(nint nativePtr)

Parameters

nativePtr nint

Returns

FontFallbackBuilder