# GfxFuncs ## **Overview** **Related Modules:** [Display](display.md) **Description:** Defines pointers to the hardware acceleration driver functions. ## **Summary** ## Data Fields
InitGfx )(void) |
|
DeinitGfx )(void) |
|
FillRect )(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt) |
|
DrawRectangle )(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt) |
|
DrawCircle )(ISurface *surface, ICircle *circle, GfxOpt *opt) |
Draws a circle with a specified center and radius on the canvas using a given color. |
Blit )(ISurface *srcSurface, IRect *srcRect, ISurface *dstSurface, IRect *dstRect) |
|
Sync )(void) |
| srcSurface | Indicates the pointer to the source bitmap. |
| srcRect | Indicates the pointer to the rectangle of the source bitmap. |
| dstSurface | Indicates the pointer to the destination bitmap. |
| dstRect | Indicates the pointer to the rectangle of the destination bitmap. |
| surface | Indicates the pointer to the canvas. |
| circle | Indicates the pointer to the circle to draw. |
| opt | Indicates the pointer to the hardware acceleration option. |
| surface | Indicates the pointer to the canvas. |
| line | Indicates the pointer to the line to draw. |
| opt | Indicates the pointer to the hardware acceleration option. |
| surface | Indicates the pointer to the canvas. |
| rect | Indicates the pointer to the rectangle to draw. |
| color | Indicates the color to draw. |
| opt | Indicates the pointer to the hardware acceleration option. |
| surface | Indicates the pointer to the canvas. |
| rect | Indicates the pointer to the rectangle to fill. |
| color | Indicates the color to fill. |
| opt | Indicates the pointer to the hardware acceleration option. |
| timeOut | Indicates the timeout duration for hardware acceleration synchronization. The value 0 indicates no timeout, so the process waits until hardware acceleration is complete. |