1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
.TH "gcpSetIntensity" 3 "2005-07-30" "libggigcp-1.0.x" GGI
.SH NAME
\fBgcpSetIntensity\fR, \fBgcpGetIntensity\fR : Manipulate Lighting
.SH SYNOPSIS
.nb
.nf
#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);
.fi
.SH DESCRIPTION
\fBgcpSetIntensity\fR sets the intensity for a \f(CWgcp_pixel(3)\fR.
\fBgcpGetIntensity\fR extracts the intensity of a \f(CWgcp_pixel(3)\fR.
.SH RETURN VALUE
\fBgcpSetIntensity\fR returns a \fBgcp_pixel(3)\fR with the new light itensity.
\fBgcpGetIntensity\fR returns a \fBgcp_pixel(3)\fR, that corresponds the \fIlight_color\fR
argument of \fBgcpSetIntensity\fR. The \fIpix1\fR is the same 'basecolor'
passed to \fBgcpSetIntensity\fR and \fIpix2\fR corresponds the return value of
\fBgcpSetIntensity\fR.
|