touchgfx::Bitmap::dynamicBitmapCreate() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Bitmap::dynamicBitmapCreate()

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

Syntax

static BitmapId dynamicBitmapCreate(const uint16_t width,     const uint16_t height,     BitmapFormat format);

Arguments

format

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().

References

LocationText
Bitmap.hpp:404
static BitmapId dynamicBitmapCreate(const uint16_t width, const uint16_t height, BitmapFormat format);

Type Use

Type of touchgfx::Bitmap::dynamicBitmapCreate()
touchgfx::Bitmap::dynamicBitmapCreate()
all items filtered out