Public Member Functions | Static Public Member Functions

CC3BMFontConfiguration Class Reference

Extends CC3BMFontConfiguration to support cocos3d functionality. More...

#import <CC3CC2Extensions.h>

List of all members.

Public Member Functions

(ccBMFontDef *) - characterSpecFor:
(NSInteger) - kerningBetween:and:

Static Public Member Functions

(void) + clearFontConfigurations
(id) + configurationFromFontFile:

Detailed Description

Extends CC3BMFontConfiguration to support cocos3d functionality.


Member Function Documentation

- (ccBMFontDef*) characterSpecFor: (unichar)  c

Returns a pointer to the specification of the specified character.

+ (void) clearFontConfigurations

Clears all cached font configurations to conserve memory.

+ (id) configurationFromFontFile: (NSString *)  fontFile

Returns an instance loaded from the specified bitmap font definition file.

This implementation maintains a cache so that each file is only loaded once.

- (NSInteger) kerningBetween: (unichar)  firstChar
and: (unichar)  secondChar 

Returns the amount of kerning required when the specified second character follows the first character in a line of text.


The documentation for this class was generated from the following file: