![]() |
|
#include <Font.h>
Public Member Functions | |
| Font () | |
| Font (System::String ^path, int height, float scale, int boldWeight) | |
| void | Release () |
| SharpKmyMath::Vector2 | measureString (cli::array< byte > ^text) |
| Texture | getTexture () |
| void | setLeadingOffset (float pos, float line) |
| bool | isAvailable () |
Static Public Member Functions | |
| static Font | newSystemFont (cli::array< byte > ^faceName, u32 height, bool bold) |
| static Font | newSystemFont (cli::array< byte > ^faceName, u32 height, float scale, int boldWeight) |
| static Font | newSystemFontGdi (cli::array< byte > ^faceName, u32 height, float scale) |
Public Attributes | |
| kmyGfx::Font * | obj = nullptr |
| SharpKmyGfx::Font::Font | ( | ) |
| SharpKmyGfx::Font::Font | ( | System::String ^ | path, |
| int | height, | ||
| float | scale, | ||
| int | boldWeight | ||
| ) |
| Texture SharpKmyGfx::Font::getTexture | ( | ) |
| bool SharpKmyGfx::Font::isAvailable | ( | ) |
| SharpKmyMath::Vector2 SharpKmyGfx::Font::measureString | ( | cli::array< byte > ^ | text | ) |
|
static |
|
static |
|
static |
| void SharpKmyGfx::Font::Release | ( | ) |
| void SharpKmyGfx::Font::setLeadingOffset | ( | float | pos, |
| float | line | ||
| ) |
| kmyGfx::Font* SharpKmyGfx::Font::obj = nullptr |