Buffer information into which font and 2d primitives will be draw.
Data Fields | |
| uint8_t * | bufAddr [DRAW2D_MAX_PLANES] |
| uint32_t | bufWidth |
| uint32_t | bufHeight |
| uint32_t | bufPitch [DRAW2D_MAX_PLANES] |
| uint32_t | dataFormat |
| uint32_t | transperentColor |
| uint32_t | transperentColorFormat |
| uint8_t* Draw2D_BufInfo::bufAddr[DRAW2D_MAX_PLANES] |
Address of buffer memory
| uint32_t Draw2D_BufInfo::bufWidth |
Width of buffer in pixels
| uint32_t Draw2D_BufInfo::bufHeight |
Height of buffer in lines
| uint32_t Draw2D_BufInfo::bufPitch[DRAW2D_MAX_PLANES] |
Pitch of buffer in Bytes
| uint32_t Draw2D_BufInfo::dataFormat |
Valid values of type System_VideoDataFormat Currently below data formats are supported
| uint32_t Draw2D_BufInfo::transperentColor |
Color used to represent transperent color Buffer will be filled with this color initially and when Draw2D_clearBuf() is called
Representation of color in this field depends on the data format ex, 16-bit value for RGB565 data format
| uint32_t Draw2D_BufInfo::transperentColorFormat |
Currently below data formats are supported