fg_pack() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_pack (void *source, void *dest, int width, int height);

Sub fg_pack (source() As Any, dest() As Any, ByVal width As Long, ByVal height As Long)

procedure fg_pack (var source, dest; width, height : integer);

Description

The fg_pack() legacy function converts a 256-color bitmap a 16-color bitmap.

Parameters

source is the name of the array containing the 256-color bitmap to convert.

dest is the name of the array that will receive the converted 16-color bitmap.

width is the source bitmap width in pixels.

height is the source bitmap height in pixels.

Return value

none

Restrictions

none

Replaced by

256-color bitmap functions

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.