Main Page | Data Structures | File List | Data Fields | Globals

fbgxGetIndCor.c File Reference

#include "ibguXdraw.h"

Functions

void fbgxAllocTrueColor (unsigned long r, unsigned long g, unsigned long b, Pixel *pixel)
unsigned long fbgxGetIndCor (float Red, float Green, float Blue)

Function Documentation

void fbgxAllocTrueColor (  unsigned long  r,
unsigned long  g,
unsigned long  b,
Pixel *  pixel
) 
 

unsigned long fbgxGetIndCor (  float  Red,
float  Green,
float  Blue
) 
 

-------------------------------------------------------------------------

NOME: fbgxGetIndCor

DESCRICAO: Dadas as tonalidades RGB, devolve o respectivo indice da tab.

PROTOTIPO: int fbgxGetIndCor (float Red, float Green, float Blue)

ENTRADAS : Red - tonalidade vermelha (0-1). Green - tonalidade verde (0-1). Blue - tonalidade azul (0-1).

SAIDAS : fbgxGetIndCor - indice da tabela de cores.

--------------------------------------------------------------------------


Generated on Wed Dec 17 13:53:56 2008 for XDraw by doxygen 1.3.5