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:

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)

Creates a texture referring to a bitmap.

Member Function Documentation

◆ Bitmap()

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

Returns the bitmap representing the texture.

Implements CartoType::CTexture.

◆ GetBounds()

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

Returns the bounds of the texture in pixels.

Implements CartoType::CTexture.

◆ IsEmpty()

bool CartoType::CBitmapTexture::IsEmpty ( ) const

Returns true if the texture is empty.

Implements CartoType::CTexture.

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