Re: XForms: fl_mapcolor/fl_getmcolor

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Mon, 9 Jun 1997 22:42:00 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

from Dick Middleton <dick@sqf.hp.com> :

>I find that fl_getmcolor returns values less than those set by fl_mapcolor.
>e.g. If I set 255, 255, 255 with fl_mapcolor I get 254, 254, 254 back from
>fl_getmcolor.
>Is this expected?

No. I can see this happening if the colormap is full and
color substitution is used.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/