Re: Colors ...

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 13 Dec 96 12:57:56 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> If you have the color value in r,g,b, how can you calculate the pixel the
> server understants? What i want is to create a pixmap "on the fly", and
> i know only rgb values... One way is to map that color using fl_map_color
> and to get it using fl_color, but im looking for something faster than that.
> Does an expression exists???

Use XQueryColors().

spl
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html