Re: [Java-gnome-developer] Colors
Brought to you by:
afcowie
From: Joao V. <jvi...@ya...> - 2005-02-18 13:58:56
|
Ok... if i multiply the 8bit color by 257 i think i get the color i want. But i think i'll submit a bug on this... Cheers, J.V. --- Joao Victor <jvi...@ya...> escreveu: > I'm trying to specify a color here with gdk.Color.... but, the object takes a 16bit for > red/green/blue (a 48bit pixel? That's totally odd to me...). So, how do i convert a basic RGB (8 > bit each color) to that 16bit convention? > > Cheers, > J.V. _______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis |