fg_makespr() (legacy function)Win32 DirectX Fastgraph/Light Prototype int fg_makespr (int minx, int maxx, int miny, int maxy, char *filename); Function fg_makespr (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long, ByVal filename As String) As Long function fg_makespr (minx, maxx, miny, maxy : integer; filename : string) : integer; Description The fg_makespr() legacy function creates a standard pixel run (SPR) file from the specified rectangular region of the active virtual buffer. 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 SPR 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 SPR file was not created Restrictions none Replaced by BMP and PCX creation functions
|
 
copyright 2001 Ted Gruber Software, Inc.