Convert to PIXEL

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Convert to PIXEL

Submitted by Anonymous on Mon, 04/23/2001 - 08:50. Developers
Passing values to RED,GREEN,BLUE....i would like to convert these values to pixel...
How couls i do it???Where do i get material abt this?????

ICS_support

If you`re using Xt and setting the color in a call, you can use XtVaSetValues and XtVaTypedArg, naming "red" as the value.

Otherwise, you can call XtConvertAndStore to convert the String value to the Pixel value.