[Previous]
[Up]
[Next]
NSFont
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSFont.h
Inherits from: NSObject
Conforms to: NSCoding
Instance Variables
Methods
Class Methods
+ (NSFont*) boldSystemFontOfSize: (float)fontSize;
+ (NSFont*) controlContentFontOfSize: (float)fontSize;
+ (NSFont*) fontWithName: (NSString*)typeface;
+ (NSFont*) fontWithName: (NSString*)fontName;
+ (NSFont*) menuFontOfSize: (float)fontSize;
+ (NSFont*) messageFontOfSize: (float)fontSize;
+ (NSFont*) paletteFontOfSize: (float)fontSize;
+ (NSArray*) preferredFontNames;
+ (void) setPreferredFontNames: (NSArray*)fontNames;
+ (void) setUserFixedPitchFont: (NSFont*)aFont;
+ (void) setUserFont: (NSFont*)aFont;
+ (NSFont*) systemFontOfSize: (float)fontSize;
+ (NSFont*) titleBarFontOfSize: (float)fontSize;
+ (NSFont*) toolTipsFontOfSize: (float)fontSize;
+ (void) useFont: (NSString*)fontName;
+ (NSFont*) userFixedPitchFontOfSize: (float)fontSize;
+ (NSFont*) userFontOfSize: (float)fontSize;
Instances Methods
- (NSSize) advancementForGlyph: (NSGlyph)aGlyph;
- (NSString*) afmFileContents;
- (float) ascender;
- (NSRect) boundingRectForFont;
- (NSRect) boundingRectForGlyph: (NSGlyph)aGlyph;
- (float) capHeight;
- (float) descender;
- (NSString*) displayName;
- (NSString*) encodingScheme;
- (NSString*) familyName;
- (NSString*) fontName;
- (BOOL) glyphIsEncoded: (NSGlyph)aGlyph;
- (NSMultibyteGlyphPacking) glyphPacking;
- (NSGlyph) glyphWithName: (NSString*)glyphName;
- (BOOL) isBaseFont;
- (BOOL) isFixedPitch;
- (float) italicAngle;
- (constfloat*) matrix;
- (NSSize) maximumAdvancement;
- (NSStringEncoding) mostCompatibleStringEncoding;
- (float) pointSize;
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph forCharacter: (unichar)aChar struckOverRect: (NSRect)aRect;
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph precededByGlyph: (NSGlyph)prevGlyph;
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverGlyph: (NSGlyph)baseGlyph metricsExist: (BOOL*)flag;
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverRect: (NSRect)aRect metricsExist: (BOOL*)flag;
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph withRelation: (NSGlyphRelation)relation toBaseGlyph: (NSGlyph)baseGlyph totalAdvancement: (NSSizePointer)offset metricsExist: (BOOL*)flag;
- (int) positionsForCompositeSequence: (NSGlyph*)glyphs numberOfGlyphs: (int)numGlyphs pointArray: (NSPointArray)points;
- (NSFont*) printerFont;
- (NSFont*) screenFont;
- (void) set;
- (float) underlinePosition;
- (float) underlineThickness;
- (float) widthOfString: (NSString*)aString;
- (float*) widths;
- (float) xHeight;