Contents

insertGlyphs(_:length:forStartingGlyphAt:characterIndex:)

Inserts the given glyphs into the glyph cache and maps them to the specified characters.

Declaration

func insertGlyphs(_ glyphs: UnsafePointer<NSGlyph>, length: Int, forStartingGlyphAt glyphIndex: Int, characterIndex charIndex: Int)

Parameters

  • glyphs:

    The glyphs to insert.

  • length:

    Number of glyphs to insert.

  • glyphIndex:

    Location in the glyph cache to begin inserting glyphs.

  • charIndex:

    Index of first character to be mapped.

Discussion

This is a bulk insert method for the glyph cache.

See Also

Modifying the glyph cache