fg_putdcb()Win32 DirectX Fastgraph/Light Prototype void fg_putdcb (void *bitmap, int width, int height); Sub fg_putdcb (bitmap() As Any, ByVal width As Long, ByVal height As Long) procedure fg_putdcb (var bitmap; width, height : integer); Description The fg_putdcb() function displays a direct color bitmap, without clipping. It is similar to fg_drawdcb() but does not treat color 0 pixels as transparent. The bitmap will be positioned so that its lower left corner is at the graphics cursor position. 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_putimage(), fg_revdcb() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.