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::BitmapTexture Class Reference

#include <cartotype_graphics_context.h>

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

Public Member Functions

 BitmapTexture (const BitmapView *aBitmap)
 
const BitmapViewBitmap () const
 
Rect Bounds () const
 
bool IsEmpty () const
 
virtual const BitmapViewBitmap () const =0
 
virtual Rect Bounds () const =0
 
virtual bool IsEmpty () const =0
 

Detailed Description

A bitmap texture class that does not own its bitmap.

Constructor & Destructor Documentation

◆ BitmapTexture()

CartoTypeCore::BitmapTexture::BitmapTexture ( const BitmapView aBitmap)
inline

Creates a texture referring to a bitmap.

Member Function Documentation

◆ Bitmap()

const BitmapView * CartoTypeCore::BitmapTexture::Bitmap ( ) const
inlinevirtual

Returns the bitmap representing the texture.

Implements CartoTypeCore::Texture.

◆ Bounds()

Rect CartoTypeCore::BitmapTexture::Bounds ( ) const
inlinevirtual

Returns the bounds of the texture in pixels.

Implements CartoTypeCore::Texture.

◆ IsEmpty()

bool CartoTypeCore::BitmapTexture::IsEmpty ( ) const
inlinevirtual

Returns true if the texture is empty.

Implements CartoTypeCore::Texture.


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