fg_revdcb()

Win32 DirectX Fastgraph/Light

Prototype

void fg_revdcb (void *bitmap, int width, int height);

Sub fg_revdcb (bitmap() As Any, ByVal width As Long, ByVal height As Long)

procedure fg_revdcb (var bitmap; width, height : integer);

Description

The fg_revdcb() function displays a reversed direct color bitmap, without clipping. The bitmap will be positioned so that its lower left corner is at the graphics cursor position. Color 0 pixels will be considered transparent.

For high color virtual buffers, each pixel in the bitmap is a 16-bit (two byte) encoded RGB value. For true color virtual buffers, each pixel is a 24-bit (three byte) RGB value, stored blue byte first, then green byte, then red byte.

Parameters

bitmap is the name of the array containing the bitmap.

width is the bitmap width in pixels.

height is the bitmap height in pixels.

Return value

none

Restrictions

This function is meaningful only with direct color virtual buffers.

See also

fg_clipdcb(), fg_drawdcb(), fg_flipdcb(), fg_getdcb(), fg_invdcb(), fg_putdcb(), fg_revimage()

Examples

Dcb

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.