Fission
FSN
Loading...
Searching...
No Matches
libs
fsRenderer
impl
cocos2d-x
fsCFont.h
Go to the documentation of this file.
1
/********************************************************************
2
*
3
* File: fsCFont.h
4
*
5
* Purpose: Cocos2d-x font implementation
6
*
7
*********************************************************************/
8
9
#ifndef fsCFonthdr
10
#define fsCFonthdr
11
12
#include <memory>
13
14
#include "
../../fsIFont.h
"
15
16
namespace
cocos2d
17
{
18
typedef
struct
_ttfConfig
TTFConfig
;
19
class
FontAtlas;
20
}
21
22
23
class
fsCFont
:
public
fsIFont
24
{
25
26
friend
class
fsIFont
;
27
friend
class
fsCRenderer
;
28
friend
class
fsCVertexStreamTextSpriteRenderData
;
29
friend
class
fsCNativeTextSprite
;
30
31
public
:
32
33
virtual
~fsCFont
();
34
35
protected
:
36
37
void
initialiseDo
(
const
fsSFontParams
& pParams)
override
;
38
39
fsCFont
();
40
41
private
:
42
43
std::unique_ptr<cocos2d::TTFConfig> mConfig;
44
cocos2d::FontAtlas* mFontAtlas;
45
};
46
47
#endif
fsCFont
Definition
fsCFont.h:24
fsCFont::fsCRenderer
friend class fsCRenderer
Definition
fsCFont.h:27
fsCFont::initialiseDo
void initialiseDo(const fsSFontParams &pParams) override
fsCFont::fsCFont
fsCFont()
fsCFont::~fsCFont
virtual ~fsCFont()
fsCNativeTextSprite
Definition
fsCNativeTextSprite.h:35
fsCVertexStreamTextSpriteRenderData
Definition
fsCVertexStreamTextSpriteRenderData-v3.h:21
fsIFont
Definition
fsIFont.h:34
fsIFont.h
cocos2d
Definition
fsC3dLight.h:19
cocos2d::TTFConfig
struct _ttfConfig TTFConfig
Definition
fsCFont.h:18
fsSFontParams
Definition
fsIFont.h:20
Generated on
for Fission by
1.16.1