fg_getmap()Win32 DirectX Fastgraph/Light Prototype void fg_getmap (void *bitmap, int width, int height); Sub fg_getmap (bitmap() As Any, ByVal width As Long, ByVal height As Long) procedure fg_getmap (var bitmap; width, height : integer); Description The fg_getmap() function retrieves a monochrome bitmap. The graphics cursor defines the bitmap's lower left corner. Parameters bitmap is the name of the array that will receive the bitmap. Each byte of bitmap represents eight pixels. Pixels of the current color set the corresponding bits in bitmap. Pixels of other colors make the corresponding bitmap bits zero. width is the bitmap width in bytes. height is the bitmap height in bytes. Return value none Restrictions none See also fg_clipmap(), fg_drawmap(), fg_getdcb(), fg_getimage()
|
 
copyright 2001 Ted Gruber Software, Inc.