Sceneview
 All Classes Functions Variables Enumerations Enumerator Groups Pages
Classes | Public Types | Public Member Functions | Friends | List of all members
sv::FontResource Class Reference

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 CharDataGetCharData (int c)
 Retrieve parameters on how to draw the specified character.
 

Friends

class ResourceManager
 

Detailed Description

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.


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