Static Public Methods |
| unsigned int | get_red_mask (EPixelFormat pixelformat) |
| unsigned int | get_green_mask (EPixelFormat pixelformat) |
| unsigned int | get_blue_mask (EPixelFormat pixelformat) |
| unsigned int | get_alpha_mask (EPixelFormat pixelformat) |
| unsigned int | get_color (EPixelFormat fmt, int r, int g, int b, int a=255) |
| unsigned int | get_color (EPixelFormat fmt, float r, float g, float b, float a=1.0) |
| | param: fmt - the pixel format to useparam: r - the red value as an integerparam: g - the green value as an integerparam: b - the blue value as an integerparam: a - the alpha value as an integer(defaults to opaque)retval: the color value in the requested pixel format.
|
| unsigned int | get_color (unsigned int rmask, unsigned int gmask, unsigned int bmask, unsigned int amask, int r, int g, int b, int a=255) |
| | param: fmt - the pixel format to useparam: r - the red value as a floating point numberparam: g - the green value as a floating point numberparam: b - the blue value as a floating point numberparam: a - the alpha value as a floating point number (defaults to opaque)retval: the color value in the requested pixel format.
|
| unsigned int | get_color (unsigned int rmask, unsigned int gmask, unsigned int bmask, unsigned int amask, float r, float g, float b, float a=1.0) |
| | param: rmask - the bit mask for redparam: gmask - the bit mask for greenparam: bmask - the bit mask for blueparam: amask - the bit mask for the alphaparam: r - the red value as an integerparam: g - the green value as an integerparam: b - the blue value as an integerparam: a - the alpha value as an integer (default is opaque)retval: the color value in the format you specify.
|
| unsigned int | get_color (CL_Target *target, int r, int g, int b, int a=255) |
| | param: rmask - the bit mask for redparam: gmask - the bit mask for greenparam: bmask - the bit mask for blueparam: amask - the bit mask for the alphaparam: r - the red value as a floating point param: g - the green value as a floating point param: b - the blue value as a flaoting pointparam: a - the alpha value as a floating point (default is opaque)retval: the color value in the format you specify.
|
| unsigned int | get_color (CL_Target *target, float r, float g, float b, float a=1.0) |
| | param: target - a pointer to a target param: r - the red value as an integerparam: g - the green value as an integerparam: b - the blue value as an integerparam: a - the alpha value (default is opaque).
|
| float | get_color (unsigned int cmask, int color) |
| | param: target - pointer to the targetparam: r - the red value as a floating pointparam: g - the green value as a floating pointparam: b - the blue value as a floating point.
|