fg_makeppr() (legacy function)Win32 DirectX Fastgraph/Light Prototype int fg_makeppr (int minx, int maxx, int miny, int maxy, char *filename); Function fg_makeppr (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long, ByVal filename As String) As Long function fg_makeppr (minx, maxx, miny, maxy : integer; filename : string) : integer; Description The fg_makeppr() legacy function creates a packed pixel run (PPR) file from the specified rectangular region of the active virtual buffer. The region's extremes are expressed in screen space units. Parameters minx is the x coordinate of the region's left edge. maxx is the x coordinate of the region's right edge. It must be greater than or equal to minx. miny is the y coordinate of the region's top edge. maxy is the y coordinate of the region's bottom edge. It must be greater than or equal to miny. filename is the name of the PPR file to create. 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). If an identically named file already exists, it is overwritten. Return value 0 = Success 1 = The PPR file was not created Restrictions none Replaced by BMP and PCX creation functions
|
 
copyright 2001 Ted Gruber Software, Inc.