Draw 2D shapes using 2D Signed distance Function.
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/distfunctions2d/distfunctions2d.htm and 2D distance and gradient functions https://iquilezles.org/www/articles/distgradfunctions2d/distgradfunctions2d.htm
Requires: RC6 (for RC6 Render mode) http://vbrichclient.com/#/en/About/
VBFORUMS: https://www.vbforums.com/showthread.php?893971-VB6-Draw-2D-shapes-using-Signed-Distance-Field