The Font class defines fonts used in TextSprite objects.
More...
#include <jmFont.h>
Inherited by FontAGK, FontCC, FontNC, and FontSFML.
|
static std::string | pathPrefix |
| An optional string attached to stored file paths. It must end with slash '/'! More...
|
|
The Font class defines fonts used in TextSprite objects.
◆ Font()
Font |
( |
const std::string & |
_relativeFilePath, |
|
|
int |
_loadFontSize, |
|
|
FontKind |
_kind |
|
) |
| |
|
inline |
Constructor.
Creates a new Font object.
- Parameters
-
_relativeFilePath | The path to the font file. |
_size | The size of the font. |
_kind | The kind of the font. |
◆ ~Font()
◆ GetKind()
Returns the kind of this font.
◆ GetRelativeFilePath()
std::string GetRelativeFilePath |
( |
| ) |
|
|
inline |
Returns the file path of this font.
◆ GetLoadFontSize()
Returns the size of this font.
◆ pathPrefix
An optional string attached to stored file paths. It must end with slash '/'!
The documentation for this class was generated from the following files:
- C:/Development/JugiMapProject/JugiMapFRM/framework_c++/jugimap/jmFont.h
- C:/Development/JugiMapProject/JugiMapFRM/framework_c++/jugimap/jmFont.cpp