Poster of Linux kernelThe best gift for a Linux geek
gcpSetIntensity

gcpSetIntensity

Section: GGI (3) Updated: 2006-12-30
Local index Up
 

NAME

gcpSetIntensity, gcpGetIntensity - Manipulate Lighting  

SYNOPSIS

#include <ggi/gcp.h>

gcp_pixel gcpSetIntensity(ggi_visual_t vis,
              const gcp_pixel *pix1, const gcp_pixel *light_color);
gcp_pixel gcpGetIntensity(ggi_visual_t vis,
              const gcp_pixel *pix1, const gcp_pixel *pix2);

 

DESCRIPTION

gcpSetIntensity sets the intensity for a gcp_pixel(3).

gcpGetIntensity extracts the intensity of a gcp_pixel(3).  

RETURN VALUE

gcpSetIntensity returns a gcp_pixel(3) with the new light itensity.

gcpGetIntensity returns a gcp_pixel(3), that corresponds the light_color argument of gcpSetIntensity. The pix1 is the same 'basecolor' passed to gcpSetIntensity and pix2 corresponds the return value of gcpSetIntensity.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE

This document was created by man2html, using the manual pages.
Time: 21:46:29 GMT, April 16, 2011