|
int32_t | Draw2D_create (Draw2D_Handle *pCtx) |
| Create a context for drawing. More...
|
|
int32_t | Draw2D_delete (Draw2D_Handle pCtx) |
| Delete a previously created drawing context. More...
|
|
int32_t | Draw2D_setBufInfo (Draw2D_Handle pCtx, Draw2D_BufInfo *pBufInfo) |
| Associated a drawing buffer with a drawing context. More...
|
|
void | Draw2D_updateBufAddr (Draw2D_Handle pCtx, uint8_t **bufAddr) |
| Update drawing buffer. More...
|
|
int32_t | Draw2D_clearBuf (Draw2D_Handle pCtx) |
| Fill buffer with transperency color. More...
|
|
int32_t | Draw2D_drawString (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, char *str, Draw2D_FontPrm *pPrm) |
| Draw string of character into the drawing buffer. More...
|
|
int32_t | Draw2D_drawString_rot (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, char *str, Draw2D_FontPrm *pPrm, uint32_t rotate) |
| Draw string of character into the drawing buffer. More...
|
|
int32_t | Draw2D_clearString (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, uint32_t stringLength, Draw2D_FontPrm *pPrm) |
| Clear a area equal to stringLength in the drawing buffer. More...
|
|
int32_t | Draw2D_getFontProperty (Draw2D_FontPrm *pPrm, Draw2D_FontProperty *pProp) |
| Get properties of a given font. More...
|
|
int32_t | Draw2D_getBmpProperty (Draw2D_BmpPrm *pPrm, Draw2D_BmpProperty *pProp) |
| Get properties of a given bitmap. More...
|
|
int32_t | Draw2D_drawLine (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, uint32_t endX, uint32_t endY, Draw2D_LinePrm *pPrm) |
| Draw a line in the drawing buffer. More...
|
|
int32_t | Draw2D_drawRect (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, uint32_t width, uint32_t height, Draw2D_LinePrm *pPrm) |
| Draw a rectangle in the drawing buffer. More...
|
|
int32_t | Draw2D_clearRegion (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, uint32_t width, uint32_t height) |
| Clear a region in the drawing buffer with transperency color. More...
|
|
int32_t | Draw2D_fillRegion (Draw2D_Handle pCtx, Draw2D_RegionPrm *prm) |
| Draw a region in the drawing buffer with custom color. More...
|
|
void | Draw2D_drawPixel (Draw2D_Handle pCtx, uint32_t px, uint32_t py, uint32_t color, uint32_t colorFormat) |
| Draw pixel of a given color. More...
|
|
int32_t | Draw2D_drawBmp (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, Draw2D_BmpPrm *pPrm) |
| Draw a bitmap into the drawing buffer. More...
|
|
int32_t | Draw2D_drawBmp_rot (Draw2D_Handle pCtx, uint32_t startX, uint32_t startY, Draw2D_BmpPrm *pPrm, uint32_t rotate) |
| Draw a bitmap into the drawing buffer. More...
|
|
int32_t | Draw2D_insertBmp (Draw2D_Handle pCtx, char *input_file, int32_t startX, int32_t startY) |
| Draw a bitmap from BMP file at a specified display buffer location. More...
|
|
int32_t | Draw2D_insertBmpFromMemory (Draw2D_Handle pCtx, void *buf, uint32_t buf_size, int32_t startX, int32_t startY) |
| Draw a bitmap from BMP file (pre-copied at a memory location) at a specified display buffer location. More...
|
|
void | Draw2D_setFontColor (uint16_t colorText, uint16_t colorBorder, uint16_t colorBg) |
| Sets a global color to use for fonts in RGB565 format. More...
|
|
void | Draw2D_resetFontColor () |
| Restore font to default. More...
|
|
static uint32_t | Draw2D_floor (uint32_t val, uint32_t align) |
| Initialize In queue parameters of a link. More...
|
|