IFillEll.c
上传用户:changbiao
上传日期:2007-01-13
资源大小:141k
文件大小:1k
- /*
- * IFillEll.c
- *
- * Image library
- *
- * Description:
- * Portable routines to manipulate raster images.
- *
- * History:
- * 24-Nov-99 Craig Knudsen cknudsen@radix.net
- * Created
- *
- ****************************************************************************/
- #include <stdio.h>
- #include <stdlib.h>
- #include <ctype.h>
- #include <memory.h>
- #include <math.h>
- #include "Ilib.h"
- #include "IlibP.h"
- IError IFillEllipse ( image, gc, x, y, r1, r2 )
- IImage image;
- IGC gc;
- int x;
- int y;
- int r1;
- int r2;
- {
- IError ret;
- ret = IFillArc ( image, gc, x, y, r1, r2, 0.0, 90.0 );
- if ( ret )
- return ret;
- return ( IFillArc ( image, gc, x, y, r1, r2, 90.0, 360.0 ) );
- }