fg_clipdcb()

Win32 DirectX Fastgraph/Light

Prototype

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

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

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

Description

The fg_clipdcb() function displays a 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_clipmap(), fg_clpimage(), fg_drawdcb(), fg_flipdcb(), fg_getdcb(), fg_invdcb(), fg_putdcb(), fg_revdcb()

Examples

Dcb

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.