fg_clipmap()Win32 DirectX Fastgraph/Light Prototype void fg_clipmap (void *bitmap, int width, int height); Sub fg_clipmap (bitmap() As Any, ByVal width As Long, ByVal height As Long) procedure fg_clipmap (var bitmap; width, height : integer); Description The fg_clipmap() function displays a monochrome bitmap, with clipping. The bitmap will be displayed 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_clipdcb(), fg_clpimage(), fg_drawmap(), fg_getmap(), fg_invert() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.