home *** CD-ROM | disk | FTP | other *** search
/ Kyūkyoku!! X68000 Emulator / X68000Book.dat / mac / OLS / X68000 / Ko-Window / kow142s.lzh / wsrv / wlib / DrawSetLine.c < prev    next >
C/C++ Source or Header  |  1991-12-23  |  406b  |  22 lines

  1. /*
  2.  *        ò`ëµâpâëâüü[â^âZâbâg
  3.  */
  4.  
  5. #define    DRAW
  6. #include "draw.h"
  7.  
  8. void    DrawSetLine( buf, x1, y1, x2, y2, code, option )
  9. DrawBuf    *buf ;
  10. int        x1, y1, x2, y2 ;
  11. int        code, option ;
  12. {
  13.     buf->type = DrawLine ;
  14.     buf->option.line.x1 = x1 ;
  15.     buf->option.line.y1 = y1 ;
  16.     buf->option.line.x2 = x2 ;
  17.     buf->option.line.y2 = y2 ;
  18.     buf->option.line.code = code ;
  19.     buf->option.line.option = option ;
  20. }
  21.  
  22.