CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoType::CBitmapTexture Class Reference

#include <cartotype_graphics_context.h>

Inheritance diagram for CartoType::CBitmapTexture:
CartoType::CTexture

Public Member Functions

 CBitmapTexture (const TBitmap *aBitmap)
 
const TBitmapBitmap () const
 
void GetBounds (TRect &aRect) const
 
bool IsEmpty () const
 
virtual const TBitmapBitmap () const =0
 
virtual void GetBounds (TRect &aRect) const =0
 
virtual bool IsEmpty () const =0
 

Detailed Description

A bitmap texture class that does not own its bitmap.

Constructor & Destructor Documentation

◆ CBitmapTexture()

CartoType::CBitmapTexture::CBitmapTexture ( const TBitmap aBitmap)
inline

Creates a texture referring to a bitmap.

Member Function Documentation

◆ Bitmap()

const TBitmap * CartoType::CBitmapTexture::Bitmap ( ) const
inlinevirtual

Returns the bitmap representing the texture.

Implements CartoType::CTexture.

◆ GetBounds()

void CartoType::CBitmapTexture::GetBounds ( TRect aRect) const
inlinevirtual

Returns the bounds of the texture in pixels.

Implements CartoType::CTexture.

◆ IsEmpty()

bool CartoType::CBitmapTexture::IsEmpty ( ) const
inlinevirtual

Returns true if the texture is empty.

Implements CartoType::CTexture.


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