Font.GetGlyphAdvancesForDirection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
An array of advances for the glyphs.