Blog graphics with GraphicsPath
by Javier Menendez
Hello Javier with my IMac 27 inch under XOJO 3.1
and Macos Catalina there is a difference at Y height
at canvas.paint, there I have to subtract half the height from the y value
to get the right height.
yline = g.height / 2
curve.AddQuadraticCurveToPoint (dx (i), dx (i + 1) -yline, dx (i + 2), dx (i + 3) -yline)
The output in pictures is ok (value = 0)
otherwise the function is OK
see my little demo with all functions
https://www.dropbox.com/s/dpa3lgd0i9lz7wh/test-graphicsPath.xojo_binary_project?dl=1