touchgfx::Bitmap::dynamicBitmapCreate() method
@fn static BitmapId Bitmap::dynamicBitmapCreate(const uint16_t width, const uint16_t height, BitmapFormat format); Create a dynamic bitmap. Create a dynamic bitmap. @see dynamicBitmapAddress
Arguments
Bitmap format of the bitmap.
width
Width of the bitmap.
height
Height of the bitmap.
Return value
BitmapId of the new bitmap or BITMAP_INVALID if memory full.
Notes
Creation of a new dynamic bitmap may cause existing dynamic bitmaps to be moved in memory. Do not rely on bitmap memory addresses of dynamic bitmaps obtained from dynamicBitmapGetAddress() to be valid across calls to dynamicBitmapCreate().
Type of touchgfx::Bitmap::dynamicBitmapCreate()
touchgfx::Bitmap::dynamicBitmapCreate()