fg_invdcb()Win32 DirectX Fastgraph/Light Prototype void fg_invdcb (void *bitmap, int width, int height); Sub fg_invdcb (bitmap() As Any, ByVal width As Long, ByVal height As Long) procedure fg_invdcb (var bitmap; width, height : integer); Description The fg_invdcb() function inverts the orientation of a direct color bitmap. Fastgraph's bitmapped image display functions expect the bitmap to be stored starting with the bottom row and proceeding toward the top. The fg_invdcb() function will reverse the row order of such bitmaps, so that a "top to bottom" image becomes a "bottom to top" image, or vice versa. 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 none See also fg_clipdcb(), fg_drawdcb(), fg_flipdcb(), fg_getdcb(), fg_invert(), fg_putdcb(), fg_revdcb() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.