fg_grayvb()

Win32 DirectX Fastgraph/Light

Prototype

void fg_grayvb (int width, int height);

Sub fg_grayvb (ByVal width As Long, ByVal height As Long)

procedure fg_grayvb (width, height : integer);

Description

The fg_grayvb() function applies a grayscale transform to a rectangular region of the active virtual buffer. The region's lower left corner is at the current graphics position.

Parameters

width is the region's width in pixels.

height is the region's height in pixels.

Return value

none

Restrictions

This function is meaningful only with direct color virtual buffers.

See also

fg_graydcb(), fg_grayrgb()

Examples

ImgProc

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.