fg_graydcb()

Win32 DirectX Fastgraph/Light

Prototype

void fg_graydcb (void *source, void *dest, int size);

Sub fg_graydcb (source() As Any, dest() As Any, ByVal size As Long)

procedure fg_graydcb (var source, dest; size : integer);

Description

The fg_graydcb() function applies a grayscale transform to a direct color bitmap.

Parameters

source is the name of the array containing the direct color bitmap to be transformed.

dest is the name of the array that will receive the resulting transformed bitmap.

size is the size of each direct color bitmap in pixels.

Return value

none

Restrictions

This function is meaningful only with direct color virtual buffers.

See also

fg_grayrgb(), fg_grayvb()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.