Uredi

Font.GetGlyphAdvancesForDirection Method

Definition

Overloads

Name Description
GetGlyphAdvancesForDirection(ReadOnlySpan<UInt32>, Direction)

Gets the advances of multiple glyphs for the specified direction.

GetGlyphAdvancesForDirection(IntPtr, Int32, Direction)

Gets the advances of multiple glyphs for the specified direction.

GetGlyphAdvancesForDirection(ReadOnlySpan<UInt32>, Direction)

Gets the advances of multiple glyphs for the specified direction.

public int[] GetGlyphAdvancesForDirection(ReadOnlySpan<uint> glyphs, HarfBuzzSharp.Direction direction);

Parameters

glyphs
ReadOnlySpan<UInt32>

The span of glyph IDs.

direction
Direction

The text direction.

Returns

Int32[]

An array of advances for the glyphs.

Applies to

GetGlyphAdvancesForDirection(IntPtr, Int32, Direction)

Gets the advances of multiple glyphs for the specified direction.

public int[] GetGlyphAdvancesForDirection(IntPtr firstGlyph, int count, HarfBuzzSharp.Direction direction);

Parameters

firstGlyph
IntPtr

A pointer to the first glyph ID.

count
Int32

The number of glyphs.

direction
Direction

The text direction.

Returns

Int32[]

An array of advances for the glyphs.

Applies to