Draw 2D shapes using 2D Signed distance Field.
Calculate distance from each pixel to each shape and compute its RGB value.
Do not use (DX) GPU HLSL, with which it would be very much faster.
2D SDF functions taken and customized from here:
https://iquilezles.org/www/articles/...unctions2d.htm
__Requires__:
RC6 (for RC6 Render mode) http://vbrichclient.com/#/en/About/
DOWNLOAD:
https://github.com/miorsoft/VB6-2D-SDF
Calculate distance from each pixel to each shape and compute its RGB value.
Do not use (DX) GPU HLSL, with which it would be very much faster.
2D SDF functions taken and customized from here:
https://iquilezles.org/www/articles/...unctions2d.htm
__Requires__:
RC6 (for RC6 Render mode) http://vbrichclient.com/#/en/About/
DOWNLOAD:
https://github.com/miorsoft/VB6-2D-SDF