fg_showppr() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

int fg_showppr (char *filename, int width);

Function fg_showppr (ByVal filename As String, ByVal width As Long) As Long

function fg_showppr (filename : string; width : integer) : integer;

Description

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

Parameters

filename specifies the name of the PPR file. A device and path name may be included as part of the file name. The file name must be terminated by a zero byte.

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

Return value

0 = Success

1 = The specified file does not exist

Restrictions

none

Replaced by

BMP and PCX display functions

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.