Pebble Foundation Classes  0.2.0
C++ for Pebble
Pebble::GBitmap Class Reference

An unowned bitmap. More...

#include <pebble_graphics_types.hpp>

Inheritance diagram for Pebble::GBitmap:
Collaboration diagram for Pebble::GBitmap:

Public Member Functions

 GBitmap (::GBitmap *gbitmap)
 Wrap a Pebble bitmap.
 
 GBitmap (const GBitmapBase &that)
 Copy bitmap reference.
 
GBitmapoperator= (const GBitmapBase &that)
 Assign the bitmap.
 
GBitmapoperator= (::GBitmap *gbitmap)
 Assign the bitmap.
 
bool IsValid ()
 Returns true if the bitmap is valid and can be used.
 
- Public Member Functions inherited from Pebble::GBitmapBase
 operator::GBitmap * () const
 Instances of this class can be automatically converted to Pebble gbitmap pointer.
 
virtual ~GBitmapBase ()
 Destructor.
 
uint16_t GetBytesPerRow () const
 
GBitmapFormat GetFormat () const
 
uint8_t * GetData () const
 
GRect GetBounds () const
 
GColorGetPalette () const
 

Additional Inherited Members

- Protected Member Functions inherited from Pebble::GBitmapBase
 GBitmapBase ()
 Cannot construct.
 
 GBitmapBase (::GBitmap *gbitmap)
 Wrap a Pebble bitmap.
 
- Protected Attributes inherited from Pebble::GBitmapBase
::GBitmapgbitmap_
 

Detailed Description

An unowned bitmap.


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