I have some simple questions concerning pixel manipulation
in GGI:

I understand that the mapping between pixels and colors depends
on the visual type being used. Supposing that we deal with TrueColor
visuals exclusively in the following.

If I querry the pixel format, it appears I can write any RGBA
value into a pixel buffer I want. The ggiMapColor and family
seem only convenience (again, when using TrueColor). Is this right ?

Further, the GGI color model doesn't deal with alpha channels (from
the docs). What if I specify the alpha value in the pixels directly ?
Is this simply ignored when I issue a ggiPutBox call ? Or can I use the
alpha value to put a shaped (masked) region ?

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

_______________________________________________________

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

Reply via email to