fg_blenddcb()

Win32 DirectX Fastgraph/Light

Prototype

void fg_blenddcb (void *foreground, void *background, void *blended, int size);

Sub fg_blenddcb (foreground() As Any, background() As Any, blended() As Any, ByVal size As Long)

procedure fg_blenddcb (var foreground, background, blended; size : integer);

Description

The fg_blenddcb() function computes an alpha-blended bitmap from the specified foreground and background bitmaps using the current fg_opacity() setting.

Parameters

foreground is the name of the array containing the foreground direct color bitmap.

background is the name of the array containing the background direct color bitmap.

blended is the name of the array that will receive the resulting alpha blended direct color bitmap. It must be at least as large as the foreground and background arrays.

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_blend(), fg_blend50(), fg_blendvar(), fg_blendvb(), fg_blendvbv(), fg_opacity()

Examples

Blend

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.