gcpSetIntensity(3)

gcpSetIntensity3

Manipulate lighting

Usage

#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);

Overview

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.

Releases

3 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0–6.0

From libggigcp1-dev 1.0.2+dfsg1-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.