This commit is contained in:
Alessandro Mauri 2023-02-12 09:34:44 +01:00
parent a32b211d20
commit 5018ccbbb0
13 changed files with 5549 additions and 0 deletions

3
ugui.c
View file

@ -212,6 +212,9 @@ int crop_rect(ug_rect_t *ra, ug_rect_t *rb)
*=============================================================================*/
// TODO: when pushing onto the stack calculate the incremental hash of the whole
// stack instead of calculating it at the end, this saves us one last scroll
// trought the draw stack
static void push_rect_command(ug_ctx_t *ctx, const ug_rect_t *rect, ug_color_t color)
{
ug_cmd_t *c;