#include "test.h" /*void drawRandomRect (VkvgContext ctx) { float w = (float)test_width; float h = (float)test_height; randomize_color(ctx); float z = truncf((0.5f*w*rand()/RAND_MAX)+1.f); float v = truncf((0.5f*w*rand()/RAND_MAX)+1.f); float x = truncf((w-z)*rand()/RAND_MAX); float y = truncf((h-v)*rand()/RAND_MAX); vkvg_rectangle(ctx, x, y, z, v); }*/ static double shape_size = 0.2; void _shape_fill(shape_t shape){ VkvgContext ctx = _initCtx (); for (uint32_t i=0; i