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

  1. /*
  2.  *        ò`ëµâpâëâüü[â^âZâbâg
  3.  *
  4.  *        1992    by âUâïéQ
  5.  */
  6.  
  7. #define    DRAW
  8. #include "draw.h"
  9.  
  10. void    DrawSetCircle( buf, x, y, rx, ry, code, option )
  11. DrawBuf    *buf ;
  12. int        x, y;
  13. int        rx, ry;
  14. int        code;
  15. SheetOption option;
  16. {
  17.     buf->type = DrawCircle ;
  18.     buf->option.circle.x = x;
  19.     buf->option.circle.y = y;
  20.     buf->option.circle.rx = rx;
  21.     buf->option.circle.ry = ry;
  22.     buf->option.circle.code = code;
  23.     buf->option.circle.option = option;
  24. }
  25.