In Java the Color class includes alpha and C# is the same.
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Color.html
I thought it may be how more recent APIs are handling colour.
Similar to the move towards floating point coordinate systems with
subpixel rendering.
changing to floating point is not similar to adding alpha (one is adding
precision the other is changing the nature of the object in fact). but it's
ok to put alpha into a color, as long as everybody is ok with the fact that
it is not a color but a material. i never saw anywhere in physics books that
there was an opacity for a color... there was for glass, plastic, paper...
the name will be misleading that's all, but that's usual with computer
languages. and this is not that important.
hum yes probably, for sure palettized devices cannot easily support
alpha...
combinations cannot be determined in advance, the only way to go is fixed
palette for a portion of it but that's not really good either.
The current code isn't great with palettized screens but it is
still usable. Here is the same screen on 8 bit displays:
http://scintilla.sourceforge.net/Alpha8.png GTK+
http://scintilla.sourceforge.net/PaletteAlpha.png Windows
yes ok, this is quite correct with the available means
Armel
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest