This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofBitmapFont Class Reference
#include <ofBitmapFont.h>
Public Member Functions | |
ofBitmapFont () | |
~ofBitmapFont () | |
ofMesh | getMesh (const std::string &text, int x, int y, ofDrawBitmapMode mode=OF_BITMAPMODE_MODEL_BILLBOARD, bool vFlipped=true) const |
const ofTexture & | getTexture () const |
ofRectangle | getBoundingBox (const std::string &text, int x, int y, ofDrawBitmapMode mode=ofGetStyle().drawBitmapMode, bool vFlipped=ofIsVFlipped()) const |
Constructor & Destructor Documentation
◆ ofBitmapFont()
ofBitmapFont::ofBitmapFont | ( | ) |
◆ ~ofBitmapFont()
ofBitmapFont::~ofBitmapFont | ( | ) |
Member Function Documentation
◆ getBoundingBox()
ofRectangle ofBitmapFont::getBoundingBox | ( | const std::string & | text, |
int | x, | ||
int | y, | ||
ofDrawBitmapMode | mode = ofGetStyle().drawBitmapMode , |
||
bool | vFlipped = ofIsVFlipped() |
||
) | const |
◆ getMesh()
ofMesh ofBitmapFont::getMesh | ( | const std::string & | text, |
int | x, | ||
int | y, | ||
ofDrawBitmapMode | mode = OF_BITMAPMODE_MODEL_BILLBOARD , |
||
bool | vFlipped = true |
||
) | const |
◆ getTexture()
const ofTexture & ofBitmapFont::getTexture | ( | ) | const |
The documentation for this class was generated from the following files:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/graphics/ofBitmapFont.h
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/graphics/ofBitmapFont.cpp