CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoTypeCore::Texture Class Referenceabstract

#include <cartotype_graphics_context.h>

Inheritance diagram for CartoTypeCore::Texture:
CartoTypeCore::BitmapTexture

Public Member Functions

virtual const BitmapViewBitmap () const =0
 
virtual Rect Bounds () const =0
 
virtual bool IsEmpty () const =0
 

Detailed Description

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.

Member Function Documentation

◆ Bitmap()

virtual const BitmapView * CartoTypeCore::Texture::Bitmap ( ) const
pure virtual

Returns the bitmap representing the texture, if any.

Implemented in CartoTypeCore::BitmapTexture.

◆ Bounds()

virtual Rect CartoTypeCore::Texture::Bounds ( ) const
pure virtual

Returns the bounds of the texture in pixels.

Implemented in CartoTypeCore::BitmapTexture.

◆ IsEmpty()

virtual bool CartoTypeCore::Texture::IsEmpty ( ) const
pure virtual

Returns true if the texture is empty.

Implemented in CartoTypeCore::BitmapTexture.


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