#include "test.h" void drawRandomRect (VkvgContext ctx, float s) { float w = (float)test_width; float h = (float)test_height; randomize_color(ctx); float x = truncf(w*rndf()); float y = truncf(h*rndf()); vkvg_rectangle(ctx, x, y, s, s); } void fixedSizeRects(){ VkvgContext ctx = _initCtx (); for (uint32_t i=0; i