fg_photorgb()

Win32 DirectX Fastgraph/Light

Prototype

void fg_photorgb (void *values, int count);

Sub fg_photorgb (values() As Any, ByVal count As Long)

procedure fg_photorgb (var values; count : integer);

Description

The fg_photorgb() function applies a photo-inversion transform to a series of RGB color triples.

Parameters

values is the name of the array containing the RGB color components, arranged as three-byte RGB triples. Each RGB color component is a value between 0 and 255; increasing values produce more intense colors. The size of the values array must be at least 3*count bytes.

count is the number of RGB color triples to transform.

Return value

none

Restrictions

none

See also

fg_photodcb(), fg_photovb()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.