fg_pcxsize()Win32 DirectX Fastgraph/Light Prototype void fg_pcxsize (void *header, int *width, int *height); Sub fg_pcxsize (header() As Any, width As Long, height As Long) procedure fg_pcxsize (var header; var width, height : integer); Description The fg_pcxsize() function returns the image dimensions for the PCX image associated with the specified PCX file header. Parameters header is the name of the buffer containing the 128-byte PCX file header. width receives the PCX image width in pixels. If header does not contain a valid PCX file header, width will be set to -1. height receives the PCX image height in pixels. If header does not contain a valid PCX file header, height will be set to -1. Return value none Restrictions none See also fg_pcxhead(), fg_pcxrange(), fg_showpcx() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.