(09-07-2023, 03:51 PM)dbox Wrote: Hey @blus, I think I see the problem...
The G2D.FillEllipse method takes 6 parameters:
G2D.FillEllipse x&, y&, radiusX&, radiusY& [, rotation& ][, clr~&]
The last two parameters are optional. But if you want to specify color you should just use 0 for rotation or leave that parameter blank.
Code: (Select All)ORG2D.Ellipse cx, cy, lastr, 29 / 35 * pr, 0, &HFF000000
Code: (Select All)G2D.Ellipse cx, cy, lastr, 29 / 35 * pr, , &HFF000000
OK thanks, but it is odd it draws the ellipse once but changes that color to Color value updated in Color statement. Could be an asset as well as a glitch.
I will try ellipse with black as 6th argument but already changed drawing with Color value ink.
Never did figure out why my own ellipse code didn't draw correctly, I tested the sub independent of all the other code and it worked fine in QBJS.
b = b + ...