home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / VOGLE.ZIP / VOGLE / DRIVERS / IBMPC / VEGA_DRA.C < prev    next >
C/C++ Source or Header  |  2000-02-11  |  323b  |  18 lines

  1. #include "vogle.h"
  2. /*
  3.  * vega_draw
  4.  *
  5.  * For V/EGA
  6.  * Draws a line from the current screen spot to x, y
  7.  */
  8.  
  9. extern    unsigned    _cur_color;
  10.  
  11. vega_draw(x, y)
  12.     register int    x, y;
  13. {
  14.     egaline(vdevice.cpVx, vdevice.sizeSy - vdevice.cpVy, x, vdevice.sizeSy - y, _cur_color);
  15.     vdevice.cpVx = x;
  16.     vdevice.cpVy = y;
  17. }
  18.