IDrawCir.c
资源名称:ilib [点击查看]
上传用户:changbiao
上传日期:2007-01-13
资源大小:141k
文件大小:1k
源码类别:

图片显示

开发平台:

C/C++

  1. /*
  2.  * IDrawCir.c
  3.  *
  4.  * Image library
  5.  *
  6.  * Description:
  7.  * Portable routines to manipulate raster images.
  8.  *
  9.  * History:
  10.  * 19-Nov-99 Craig Knudsen cknudsen@radix.net
  11.  * Created
  12.  *
  13.  ****************************************************************************/
  14. #include <stdio.h>
  15. #include <stdlib.h>
  16. #include <ctype.h>
  17. #include <memory.h>
  18. #include <math.h>
  19. #include "Ilib.h"
  20. #include "IlibP.h"
  21. IError IDrawCircle ( image, gc, x, y, r )
  22. IImage image;
  23. IGC gc;
  24. int x;
  25. int y;
  26. int r;
  27. {
  28.   return ( IDrawArc ( image, gc, x, y, r, r, 0.0, 360.0 ) );
  29. }