Pebble Foundation Classes
0.2.0
C++ for Pebble
|
An unowned bitmap. More...
#include <pebble_graphics_types.hpp>
Public Member Functions | |
GBitmap (::GBitmap *gbitmap) | |
Wrap a Pebble bitmap. | |
GBitmap (const GBitmapBase &that) | |
Copy bitmap reference. | |
GBitmap & | operator= (const GBitmapBase &that) |
Assign the bitmap. | |
GBitmap & | operator= (::GBitmap *gbitmap) |
Assign the bitmap. | |
bool | IsValid () |
Returns true if the bitmap is valid and can be used. | |
![]() | |
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 |
GColor * | GetPalette () const |
Additional Inherited Members | |
![]() | |
GBitmapBase () | |
Cannot construct. | |
GBitmapBase (::GBitmap *gbitmap) | |
Wrap a Pebble bitmap. | |
![]() | |
::GBitmap * | gbitmap_ |
An unowned bitmap.