4#include "core/gooey_backend_internal.h"
5#include "core/gooey_common.h"
57void GooeyCanvas_DrawArc(GooeyCanvas *canvas,
int x_center,
int y_center,
int width,
int height,
int angle1,
int angle2);
void GooeyCanvas_DrawArc(GooeyCanvas *canvas, int x_center, int y_center, int width, int height, int angle1, int angle2)
Draws an arc onto the user-defined canvas.
void GooeyCanvas_SetForeground(GooeyCanvas *canvas, unsigned long color_hex)
Sets foreground of the user-defined canvas.
GooeyCanvas * GooeyCanvas_Add(GooeyWindow *win, int x, int y, int width, int height)
Adds a canvas to the window.
void GooeyCanvas_DrawLine(GooeyCanvas *canvas, int x1, int y1, int x2, int y2, unsigned long color_hex)
Draws a line onto the user-defined canvas.
void GooeyCanvas_Draw(GooeyWindow *window)
void GooeyCanvas_DrawRectangle(GooeyCanvas *canvas, int x, int y, int width, int height, unsigned long color_hex, bool is_filled)
Draws a rectangle onto the user-defined canvas.