| Libraries |
|
PCX | Source Code |
|
|
| Function Summary | |||||
| PRIMITIVE_WINDOW |
| ||||
| PRIMITIVE_WINDOW |
| ||||
| Function Detail |
readPcx
const func PRIMITIVE_WINDOW: readPcx (inout file: pcxFile)
-
Reads a PCX (PiCture eXchange) file into a pixmap.
- Parameters:
- pcxFile - File that contains a PCX image.
- Returns:
- A pixmap with the PCX image, or PRIMITIVE_WINDOW.value if the file does not contain a PCX magic number.
- Raises:
- RANGE_ERROR - The file is not in the PCX file format.
readPcx
const func PRIMITIVE_WINDOW: readPcx (in string: pcxFileName)
-
Reads a PCX file with the given pcxFileName into a pixmap.
- Parameters:
- pcxFileName - Name of the PCX file.
- Returns:
- A pixmap with the PCX image, or PRIMITIVE_WINDOW.value if the file cannot be opened or does not contain a PCX magic number.
- Raises:
- RANGE_ERROR - The file is not in the PCX file format.
|
|
|
