home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 344b.lha / plplot_v2.6 / src / movwor.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-27  |  335 b   |  22 lines

  1. /* MOVE AND DRAW ROUTINES IN WORLD COORDINATES */
  2.  
  3. /* Move to world coordinates (x,y) */
  4.  
  5. #include "plplot.h"
  6.  
  7. void movwor(x,y)
  8. PLFLT x,y;
  9. {
  10.    scurr(wcpcx(x),wcpcy(y));
  11. }
  12.  
  13. /* Draws to world coordinates (x,y) */
  14.  
  15. void drawor(x,y)
  16. PLFLT x,y;
  17. {
  18.    PLINT currx, curry;
  19.    gcurr(&currx,&curry);
  20.    pllclp(currx,curry,wcpcx(x),wcpcy(y));
  21. }
  22.