fg_dispfile() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_dispfile (char *filename, int width, int format);

Sub fg_dispfile (ByVal filename As String, ByVal width As Long, ByVal format As Long)

procedure fg_dispfile (filename : string; width, format : integer);

Description

The fg_dispfile() legacy function displays an image from a standard or packed pixel run file. The image will be positioned so that its lower left corner is at the graphics cursor position.

Parameters

filename is the name of the PPR or SPR file. A device and path name may be included as part of the file name. The file name must be terminated by a null character (that is, a zero byte).

width is the image width in pixels. It must be greater than zero.

format specifies the image format. The value of format must be 0 if the image is in standard pixel run format, and 1 if the image is in packed pixel run format.

Return value

none

Restrictions

none

Replaced by

BMP and PCX display functions

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.