Contents

getFirstUnlaidCharacterIndex(_:glyphIndex:)

Returns the indexes for the first character and glyph that have invalid layout information.

Declaration

func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>?, glyphIndex: UnsafeMutablePointer<Int>?)

Parameters

  • charIndex:

    On return, if not NULL, the index of the first character that has invalid layout information

  • glyphIndex:

    On return, if not NULL, the index of the first glyph that has invalid layout information.

Discussion

Either parameter may be NULL, in which case the receiver simply ignores it.

As part of its implementation, this method calls firstUnlaidCharacterIndex() and firstUnlaidGlyphIndex(). To change this method’s behavior, override those two methods instead of this one.

See Also

Getting layout information