CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Member Functions | |
virtual const BitmapView * | Bitmap () const =0 |
virtual Rect | Bounds () const =0 |
virtual bool | IsEmpty () const =0 |
Textures are bitmaps that can be drawn using an arbitrary 2D transformation. They are usually implemented by graphics acceleration systems. The Texture class is an abstract base class to be implemented by a graphics library such as OpenGL.
|
pure virtual |
Returns the bitmap representing the texture, if any.
Implemented in CartoTypeCore::BitmapTexture.
|
pure virtual |
Returns the bounds of the texture in pixels.
Implemented in CartoTypeCore::BitmapTexture.
|
pure virtual |
Returns true if the texture is empty.
Implemented in CartoTypeCore::BitmapTexture.