Declaration

func masterNearest(
    toPosition position: UnsafeMutablePointer<CGFloat>,
    glyph: GSGlyph?
) -> Any?

Declaration

- (id) masterNearestToPosition:(CGFloat *) position
                         glyph:(GSGlyph *) glyph;

Declaration

masterNearestToPosition_glyph_(
    position: float,
    glyph: GSGlyph
) -> object

Parameters

glyph

The glyph whose Intermediate layers are included, or nil to use only masters.

Discussion

The position buffer must contain one internal coordinate per font axis, in font-axis order. Active Intermediate layers of the glyph are included when a glyph is provided.

See Also

Master Locations