fg_tcdefine()

Win32 DirectX Fastgraph/Light

Prototype

void fg_tcdefine (int index, int attribute);

Sub fg_tcdefine (ByVal index As Long, ByVal attribute As Long)

procedure fg_tcdefine (index, attribute : integer);

Description

The fg_tcdefine() function defines the transparency attribute of a color for use with fg_vbtccopy().

Parameters

index is the color being defined, between 0 and 255.

attribute is the transparency attribute for the color. If the attribute is 0, the specified color will be opaque (non-transparent). If it is any other value, fg_vbtccopy() will treat the color as transparent.

Return value

none

Restrictions

none

See also

fg_vbtccopy(), fg_vbtzcopy()

Examples

VBdemo

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.