fg_displayp() (legacy function)Win32 DirectX Fastgraph/Light Prototype void fg_displayp (void *bitmap, int runs, int width); Sub fg_displayp (bitmap() As Any, ByVal runs As Long, ByVal width As Long) procedure fg_displayp (var bitmap; runs, width : integer); Description The fg_displayp() legacy function displays an image stored in Fastgraph's packed pixel run format, where the image resides in an array. The image 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 pixel run map. The pixel run map is a sequence of (color,count) pairs. Each "color" element is a value between 0 and 15 specifying the color for that pixel run. Each "count" element is a value between 0 and 255 specifying the length in pixels of that pixel run. runs is the number of pixel runs to display from the pixel run map. It is normally two-thirds the size of the bitmap array. width is the image width in pixels. It must be greater than zero. Return value none Restrictions none Replaced by 256-color bitmap functions
|
 
copyright 2001 Ted Gruber Software, Inc.