www.pudn.com > ilib > IFillEll.c
/* * IFillEll.c * * Image library * * Description: * Portable routines to manipulate raster images. * * History: * 24-Nov-99 Craig Knudsen cknudsen@radix.net * Created * ****************************************************************************/ #include#include #include #include #include #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 ) ); }