#include <CCFontFreeType.h>
|
| bool | isDistanceFieldEnabled () const |
| |
| float | getOutlineSize () const |
| |
| void | renderCharAt (unsigned char *dest, int posX, int posY, unsigned char *bitmap, long bitmapWidth, long bitmapHeight) |
| |
| virtual FontAtlas * | createFontAtlas () override |
| |
| virtual int * | getHorizontalKerningForTextUTF16 (const std::u16string &text, int &outNumLetters) const override |
| |
| unsigned char * | getGlyphBitmap (unsigned short theChar, long &outWidth, long &outHeight, Rect &outRect, int &xAdvance) |
| |
| virtual int | getFontMaxHeight () const override |
| |
| virtual int | getFontAscender () const |
| |
| virtual const char * | getCurrentGlyphCollection () const |
| |
| void | retain () |
| | Retains the ownership. More...
|
| |
| void | release () |
| | Releases the ownership immediately. More...
|
| |
| Ref * | autorelease () |
| | Releases the ownership sometime soon automatically. More...
|
| |
| unsigned int | getReferenceCount () const |
| | Returns the Ref's current reference count. More...
|
| |
| virtual | ~Ref () |
| | NA NA More...
|
| |
| FontFreeType |
( |
bool |
distanceFieldEnabled = false, |
|
|
int |
outline = 0 |
|
) |
| |
|
protected |
| static FontFreeType* create |
( |
const std::string & |
fontName, |
|
|
int |
fontSize, |
|
|
GlyphCollection |
glyphs, |
|
|
const char * |
customGlyphs, |
|
|
bool |
distanceFieldEnabled = false, |
|
|
int |
outline = 0 |
|
) |
| |
|
static |
| bool createFontObject |
( |
const std::string & |
fontName, |
|
|
int |
fontSize |
|
) |
| |
|
protected |
| virtual int getFontAscender |
( |
| ) |
const |
|
virtual |
| virtual int getFontMaxHeight |
( |
| ) |
const |
|
overridevirtual |
| unsigned char* getGlyphBitmap |
( |
unsigned short |
theChar, |
|
|
long & |
outWidth, |
|
|
long & |
outHeight, |
|
|
Rect & |
outRect, |
|
|
int & |
xAdvance |
|
) |
| |
| virtual int* getHorizontalKerningForTextUTF16 |
( |
const std::u16string & |
text, |
|
|
int & |
outNumLetters |
|
) |
| const |
|
overridevirtual |
| float getOutlineSize |
( |
| ) |
const |
|
inline |
| bool isDistanceFieldEnabled |
( |
| ) |
const |
|
inline |
| void renderCharAt |
( |
unsigned char * |
dest, |
|
|
int |
posX, |
|
|
int |
posY, |
|
|
unsigned char * |
bitmap, |
|
|
long |
bitmapWidth, |
|
|
long |
bitmapHeight |
|
) |
| |
| static void shutdownFreeType |
( |
| ) |
|
|
static |
| const int DistanceMapSpread |
|
static |
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/2d/CCFontFreeType.h