10 private ref class Font
13 kmyGfx::Font * obj =
nullptr;
16 Font(System::String ^path,
int height,
float scale,
int boldWeight);
18 XXSharpKmyMath::Vector2 measureString(cli::array<byte> ^text);
20 static Font^ newSystemFont(cli::array<byte> ^faceName, u32 height,
bool bold);
21 static Font^ newSystemFont(cli::array<byte> ^faceName, u32 height,
float scale,
int boldWeight);
22 static Font^ newSystemFontGdi(cli::array<byte> ^faceName, u32 height,
float scale);
24 Texture^ getTexture();
25 void setLeadingOffset(
float pos,
float line);
26 bool isAvailable() {
return obj; }
29 kmyIO::StreamBase *m_stream;