Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cFontMgr Class Reference

#include <cFont.h>

Public Member Functions

cFontPtr GetFontForSize (int iPoints, bool takeBest)
 
cFontPtr GetFont (const cWinFontCfg &cfg)
 

Detailed Description

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

Todo:
cFontMgr

Member Function Documentation

◆ GetFont()

cFontPtr GrayLib::cFontMgr::GetFont ( const cWinFontCfg cfg)

◆ GetFontForSize()

cFontPtr GrayLib::cFontMgr::GetFontForSize ( int  iPoints,
bool  takeBest 
)

The documentation for this class was generated from the following files: