home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 3 / RISC_DISC_3.iso / resources / etexts / gems / gemsiv / nurb_polyg / fakewindow.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-14  |  351 b   |  21 lines

  1. /* This is a fake version, used to test on other machines. */
  2.  
  3. extern void MakeWindow(void);
  4.  
  5. void MakeWindow()
  6. {}
  7.  
  8. extern void MoveTo( short, short );
  9. extern void LineTo( short, short );
  10.  
  11.  
  12.  
  13. void LineTo( short x, short y )
  14. {
  15.     printf("L %3d, %3d\n", (int) x, (int) y );
  16. }
  17. void MoveTo( short x, short y )
  18. {
  19.     printf("M %3d, %3d\n", (int) x, (int) y );
  20. }
  21.