Returns caret positions within a glyph.
- iOS 3.2+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
- Core Text
A reference to the font to use.
A reference to the glyph.
A buffer of at least
maxto receive the ligature caret positions for
The maximum number of positions to return.
The maximum number of caret positions for the specified glyph
This function is used to obtain caret positions for a specific glyph. The return value is the maximum number of positions possible, and the function will populate the caller's
positions buffer with available positions if possible. This function might not be able to produce positions if the font does not have the appropriate data, in which case it will return 0.