This is plgspa.c in view mode; [Download] [Up]
/* Gets subpage boundaries in absolute coordinates (mm from bottom */
/* left-hand corner of page) */
#include "plplot.h"
void plgspa(xmin,xmax,ymin,ymax)
double *xmin, *xmax, *ymin, *ymax;
{
double spdxmi, spdxma, spdymi, spdyma;
int level;
glev(&level);
if (level < 1) plexit("Please call plstar before plgspa.");
gspd(&spdxmi,&spdxma,&spdymi,&spdyma);
*xmin = dcmmx(spdxmi);
*xmax = dcmmx(spdxma);
*ymin = dcmmy(spdymi);
*ymax = dcmmy(spdyma);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.