![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cFont.h>
Public Member Functions | |
cFontPtr | GetFontForSize (int iPoints, bool takeBest) |
cFontPtr | GetFont (const cWinFontCfg &cfg) |
Get a font from the font cache with specified characteristics (like size). Try to load a font or create one from a similar font for a certain size. Helper to render fonts onto Surfaces/Images. Like cSpriteMap A Raster / bitmap font. Fixed width, though this is not a requirement. https://en.wikipedia.org/wiki/Computer_font
cFontPtr GrayLib::cFontMgr::GetFont | ( | const cWinFontCfg & | cfg | ) |
cFontPtr GrayLib::cFontMgr::GetFontForSize | ( | int | iPoints, |
bool | takeBest | ||
) |