This is xform.c in view mode; [Download] [Up]
#include "plplot.h"
FLOAT tr[6];
void xform(x,y,tx,ty)
double x, y, *tx, *ty;
{
*tx = tr[0] * x + tr[1] * y + tr[2];
*ty = tr[3] * x + tr[4] * y + tr[5];
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.