# GfxFuncs - [Overview](#section1836335825165631) - [Summary](#section2026088827165631) - [Data Fields](#pub-attribs) - [Details](#section2110107619165631) - [Field](#section1301358906165631) - [Blit](#ab5bf93f23b73413e7aa7618a202364d7) - [DeinitGfx](#ad86b127aad2a6e7f01e07b77054d42b3) - [DrawCircle](#acac8893b6bf7ab9abdad1b563c4ab6f2) - [DrawLine](#a5715347b14918e0dca51a9fd7b3d1a47) - [DrawRectangle](#a96785cdbc636179fc51026fc589cac17) - [FillRect](#a12cf050a4c0d76f9816008fb102c7330) - [InitGfx](#a3ec8ed6a467ed0c88e4dd723723c0f41) - [Sync](#aa1d93d9b5bc48cf48acb358ef531998a) ## **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. |