[EMAIL PROTECTED] wrote:

> Is the ggiMapColor() approach meant to be used whenever I wish to set a pixel's 
>colour (even if I do not 
> intend to use that
> colour again) or only when I already have the desired colour predefined in a 
>ggi_color variable?

ggiMapColor is a convenience function, that uses the pixel format information from a 
given
visual to do the mapping. You can certainly do that yourself, especially if you have 
your own
restrictions on the type of visual. For example, if you know you only deal with 
TrueColor, things
will become more easy.

Regards,        Stefan
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: [EMAIL PROTECTED]

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...

Reply via email to