fg_drawmap()Win32 DirectX Fastgraph/Light Prototype void fg_drawmap (void *bitmap, int width, int height); Sub fg_drawmap (bitmap() As Any, ByVal width As Long, ByVal height As Long) procedure fg_drawmap (var bitmap; width, height : integer); Description The fg_drawmap() function displays a monochrome bitmap. The bitmap will be positioned so that its lower left corner is at the graphics cursor position. Parameters bitmap is the name of the array containing the bitmap. Each byte of bitmap represents eight pixels. Bits that are set (1) result in the corresponding pixel being displayed in the current color. Bits that are reset (0) leave the corresponding pixel unchanged. width is the bitmap width in bytes. height is the bitmap height in bytes. Return value none Restrictions none See also fg_clipmap(), fg_drawdcb(), fg_drwimage(), fg_getmap(), fg_invert() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.