## Current status:
-- Fill (stencil even-odd, non-zero with ear clipping).
+- Fill (stencil even-odd, non-zero).
- Stroke.
- Basic painting operation.
- Font system with caching operational.
-- Linear Gradients.
+- Linear/Radial Gradients.
- Line caps and joins.
+- Dashes.
- Context should be thread safe, extensive tests required.
- Image loading and writing with [stb lib](https://github.com/nothings/stb)
-- Test includes svg rendering with [nanoSVG](https://github.com/memononen/nanosvg)
+- Test includes svg rendering either with built-in renderer or [nanoSVG](https://github.com/memononen/nanosvg)
## Requirements:
//compute dyn distanceTolerance depending on current scale
float sx = 1, sy = 1;
vkvg_matrix_get_scale (&ctx->pushConsts.mat, &sx, &sy);
- float distanceTolerance = fabs(1.0f / fmaxf(sx,sy));
+ float distanceTolerance = fabs(0.25f / fmaxf(sx,sy));
_recursive_bezier (ctx, distanceTolerance, cp.x, cp.y, x1, y1, x2, y2, x3, y3, 0);
/*cp.x = x3;