Type Method

glyphInfoWithCGGlyph:forFont:baseString:

Creates a glyph info object from the specified glyph identifier and font informaton.

Declaration

+ (NSGlyphInfo *)glyphInfoWithCGGlyph:(CGGlyph)glyph forFont:(NSFont *)font baseString:(NSString *)string;

Parameters

glyph

The requested CGGlyph object.

font

The font containing the glyph.

string

A string containing the character represented by the glyph.

Return Value

A glyph info object for the specified glyph or nil if the glyph information is not available.