home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d3xx / d306 / rexxplplot.lha / RexxPlPlot / src / src.zoo / xform.c < prev   
Encoding:
C/C++ Source or Header  |  1990-01-06  |  174 b   |  12 lines

  1. #include "plplot.h"
  2.  
  3. void xform(x,y,tx,ty)
  4. float x, y, *tx, *ty;
  5. {
  6.       extern float tr[];
  7.  
  8.       *tx = tr[0]*x + tr[1]*y + tr[2];
  9.       *ty = tr[3]*x + tr[4]*y + tr[5];
  10. }
  11.  
  12.