A font texture map, suitable for rendering fonts using texture-mapped quads. More...
#include <sceneview/font_resource.hpp>
Classes | |
struct | CharData |
Describes how to draw a character from the font texture map. More... | |
Public Types | |
typedef std::shared_ptr < FontResource > | Ptr |
Public Member Functions | |
const std::shared_ptr < QOpenGLTexture > & | Texture () |
Retrieve the texture. | |
const CharData & | GetCharData (int c) |
Retrieve parameters on how to draw the specified character. | |
Friends | |
class | ResourceManager |
A font texture map, suitable for rendering fonts using texture-mapped quads.
Only ASCII characters are supported.
FontResource objects cannot be directly instantiated. Instead, use ResourceManager or StockResources.