RawBitmapData
touchgfx/lcd/LCD.hpp
Raw bitmap data and dimensions, used for drawing a bitmap without a Bitmap database entry.
Public Functions
| bool | hasTransparentPixels() const |
| Query if this bitmap has transparent pixels, i.e. | |
Public Attributes
| const uint8_t * | data |
| The pixel data of the bitmap. | |
| const uint8_t * | extraData |
| The alpha channel or clut data of the bitmap, or 0 if not used. | |
| Bitmap::BitmapFormat | format |
| The format of the bitmap data. | |
| uint16_t | height |
| The height of the bitmap. | |
| const Rect & | solidRect |
| The solid part of the image. | |
| uint16_t | width |
| The width of the bitmap. | |
Public Functions Documentation
hasTransparentPixels
| bool hasTransparentPixels | ( | ) | const |
Query if this bitmap has transparent pixels, i.e.
the solid rect does not cover the entire bitmap.
Returns:
True if the bitmap has transparent pixels, false if it is fully solid.
Public Attributes Documentation
data
const uint8_t * data
The pixel data of the bitmap.
extraData
const uint8_t * extraData
The alpha channel or clut data of the bitmap, or 0 if not used.
format
Bitmap::BitmapFormat format
The format of the bitmap data.
height
uint16_t height
The height of the bitmap.
solidRect
const Rect & solidRect
The solid part of the image.
width
uint16_t width
The width of the bitmap.