fg_drawdcb()Win32 DirectX Fastgraph/Light Prototype void fg_drawdcb (void *bitmap, int width, int height); Sub fg_drawdcb (bitmap() As Any, ByVal width As Long, ByVal height As Long) procedure fg_drawdcb (var bitmap; width, height : integer); Description The fg_drawdcb() function displays a 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_drawmap(), fg_drwimage(), fg_flipdcb(), fg_getdcb(), fg_invdcb(), fg_putdcb(), fg_revdcb() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.