CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Member Functions | |
virtual const TBitmap * | Bitmap () const =0 |
virtual void | GetBounds (TRect &aRect) 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 CTexture 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 CartoType::CBitmapTexture.
|
pure virtual |
Returns the bounds of the texture in pixels.
Implemented in CartoType::CBitmapTexture.
|
pure virtual |
Returns true if the texture is empty.
Implemented in CartoType::CBitmapTexture.