org.rococoa.cocoa.appkit.categories
Interface NSFontDeprecated

All Known Implementing Classes:
NSFont

public interface NSFontDeprecated

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSFontDeprecated._static_
           
 
Method Summary
 NSDictionary afmDictionary()
           
 float defaultLineHeightForFont()
          Original signature : -(CGFloat)defaultLineHeightForFont
Use -[NSLayoutManager defaultLineHeightForFont:] instead.
 NSString encodingScheme()
           
 boolean glyphIsEncoded(int aGlyph)
          Original signature : -(BOOL)glyphIsEncoded:(NSGlyph)
Can be deduced by aGlyph < [NSFont numberOfGlyphs] since only NSNativeShortGlyphPacking is supported.
 int glyphPacking()
           
 boolean isBaseFont()
           
 NSObject positionOfGlyph_precededByGlyph_isNominal(int curGlyph, int prevGlyph, boolean nominal)
          The context-sensitive inter-glyph spacing is now performed at the typesetting stage.
 NSObject positionOfGlyph_struckOverGlyph_metricsExist(int curGlyph, int prevGlyph, boolean exist)
           
 float widthOfString(NSString string)
          Original signature : -(CGFloat)widthOfString:(NSString*)
This API never returns correct value.
 

Method Detail

widthOfString

float widthOfString(NSString string)
Original signature : -(CGFloat)widthOfString:(NSString*)
This API never returns correct value. Use NSStringDrawing API instead.


isBaseFont

boolean isBaseFont()

afmDictionary

NSDictionary afmDictionary()

glyphIsEncoded

boolean glyphIsEncoded(int aGlyph)
Original signature : -(BOOL)glyphIsEncoded:(NSGlyph)
Can be deduced by aGlyph < [NSFont numberOfGlyphs] since only NSNativeShortGlyphPacking is supported.


defaultLineHeightForFont

float defaultLineHeightForFont()
Original signature : -(CGFloat)defaultLineHeightForFont
Use -[NSLayoutManager defaultLineHeightForFont:] instead.


encodingScheme

NSString encodingScheme()

glyphPacking

int glyphPacking()
See Also:
org.rococoa.cocoa.appkit.AppKitLibrary#NSMultibyteGlyphPacking

positionOfGlyph_precededByGlyph_isNominal

NSObject positionOfGlyph_precededByGlyph_isNominal(int curGlyph,
                                                   int prevGlyph,
                                                   boolean nominal)
The context-sensitive inter-glyph spacing is now performed at the typesetting stage.
Original signature : -(id)positionOfGlyph:(NSGlyph) precededByGlyph:(NSGlyph) isNominal:(BOOL*)


positionOfGlyph_struckOverGlyph_metricsExist

NSObject positionOfGlyph_struckOverGlyph_metricsExist(int curGlyph,
                                                      int prevGlyph,
                                                      boolean exist)