wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
Loading...
Searching...
No Matches
Namespaces | Functions
bgi_font.h File Reference
#include <array>
#include <cstdint>
#include <string>
#include <utility>
Include dependency graph for bgi_font.h:

Go to the source code of this file.

Namespaces

namespace  bgi
 

Functions

int bgi::currentTextScaleX ()
 
int bgi::currentTextScaleY ()
 
void bgi::drawGlyph (int x, int y, std::uint32_t codepoint, int color)
 
void bgi::drawText (int x, int y, const std::string &text, int color)
 
int bgi::fontCount ()
 
int bgi::fontIdFromName (const std::string &name)
 
const char * bgi::fontName (int fontId)
 
bool bgi::isKnownFont (int fontId)
 
std::pair< int, int > bgi::measureText (const std::string &text)