Erel can u post the list of what the color constants are actually set to?
Are they stored in a file or in the core of the Basic4ppc app?
Theres a slight problem that Ive come accross with some colors.
Due to 'rounding' on the screen. It would be better if colour constants were set to exactly what they will be read back as e.g.
plot (1,1,cPurple)
if getpixel(1,1)=cpurple then msgbox("True") else Msgbox("False")
...Will return False.!
Reason is screen R,G,B,s are stored to the nearest 8 for each R,G,B component
If the constants were set to the exact screen value the colors will still be the same but you could also use the color constants for checking pixels!
Are they stored in a file or in the core of the Basic4ppc app?
Theres a slight problem that Ive come accross with some colors.
Due to 'rounding' on the screen. It would be better if colour constants were set to exactly what they will be read back as e.g.
plot (1,1,cPurple)
if getpixel(1,1)=cpurple then msgbox("True") else Msgbox("False")
...Will return False.!
Reason is screen R,G,B,s are stored to the nearest 8 for each R,G,B component
If the constants were set to the exact screen value the colors will still be the same but you could also use the color constants for checking pixels!
Last edited: