#include <Pt/Forms/GraphicsBackend.h>
Graphics backend used by platform integration. More...
Public Member Functions | |
| virtual | ~GraphicsBackend () |
| Destructor. | |
| virtual IPixmapImpl * | createPixmapImpl ()=0 |
| Creates a platform pixmap implementation. | |
| virtual const std::string & | defaultFont () const =0 |
| Returns the default font family. | |
| virtual void | setDefaultFont (const std::string &family)=0 |
| Sets the default font family to family. | |
| virtual std::vector< std::string > | fontFamilies () const =0 |
| Returns the available font family names. | |
| virtual std::vector< Gfx::FontFace > | fontFaces (const std::string &family) const =0 |
| Returns the faces of font family family. | |
Application owns the backend. It creates pixmap implementations and enumerates fonts. Ordinary applications do not call this API.