Using 2014r1.1 on Mac OSX10.7.5 I am seeing a drawing anomaly in a canvas’s paint event…
g.forecolor =hsv(0,0,1,X)
any value of X draws at 100% opacity
if the color is not a shade of white, it works as expected
Anybody else see this?
Using 2014r1.1 on Mac OSX10.7.5 I am seeing a drawing anomaly in a canvas’s paint event…
g.forecolor =hsv(0,0,1,X)
any value of X draws at 100% opacity
if the color is not a shade of white, it works as expected
Anybody else see this?
Looks like a saturation value of 0.0 makes it opaque. I don’t know if this is a bug or there’s a reason for it but a workaround is to keep saturation just above 0.
g.forecolor = HSV(h, Max(s, 0.0000001), v, a)
This is most likely a bug.
In the meantime, it wouldn’t be too hard to write your own HSV -> RGB function.