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