fg_flipdcb()

Win32 DirectX Fastgraph/Light

Prototype

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

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

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

Description

The fg_flipdcb() function displays a reversed direct color bitmap, with 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_flpimage(), fg_getdcb(), fg_invdcb(), fg_putdcb(), fg_revdcb()

Examples

Dcb

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.