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

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