fgi_showppr() (Fastgraph/Image legacy function)

Win32 DirectX Fastgraph/Light

Prototype

int fgi_showppr (char *filename, int handle);

Function fgi_showppr (ByVal filename As String, ByVal handle As Long) As Long

function fgi_showppr (filename : string; handle : integer) : integer;

Description

The fgi_showppr() legacy function displays a packed pixel run (PPR) file stored in an FGI library. The image will be positioned so that its lower left corner is at the graphics cursor position in the active virtual buffer.

Parameters

filename is the name of the PPR file. It may only include a file name and extension (such as PICTURE.PPR) and must be terminated by a null character (that is, a zero byte).

handle is the file handle for the FGI library containing filename.

Return value

0 = Success

-1 = Error reading the FGI library

-2 = The requested file is not in the FGI library

-3 = The requested file is not a PPR file

Restrictions

none

Replaced by

BMP and PCX display functions

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.