14#include "common/gooey_common.h"
44void GooeyCanvas_DrawRectangle(GooeyCanvas *canvas,
int x,
int y,
int width,
int height,
unsigned long color_hex,
bool is_filled,
float thickness,
bool is_rounded,
float corner_radius);
71void GooeyCanvas_DrawArc(GooeyCanvas *canvas,
int x_center,
int y_center,
int width,
int height,
int angle1,
int angle2);
void GooeyCanvas_DrawRectangle(GooeyCanvas *canvas, int x, int y, int width, int height, unsigned long color_hex, bool is_filled, float thickness, bool is_rounded, float corner_radius)
Draws a rectangle onto the user-defined canvas.
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 the foreground color of the user-defined canvas.
GooeyCanvas * GooeyCanvas_Create(int x, int y, int width, int height)
Adds a canvas to the specified 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.