1 /**
2 ** pfelli.c
3 **
4 ** Copyright (c) 1995 Csaba Biegl, 820 Stirrup Dr, Nashville, TN 37221
5 ** [e-mail: csaba@vuse.vanderbilt.edu]
6 **
7 ** Copyright (C) 1992, Csaba Biegl
8 ** 820 Stirrup Dr, Nashville, TN, 37221
9 ** csaba@vuse.vanderbilt.edu
10 **
11 ** This file is part of the GRX graphics library.
12 **
13 ** The GRX graphics library is free software; you can redistribute it
14 ** and/or modify it under some conditions; see the "copying.grx" file
15 ** for details.
16 **
17 ** This library is distributed in the hope that it will be useful,
18 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 **
21 **/
22
23 #include "libgrx.h"
24 #include "shapes.h"
25
GrPatternFilledEllipse(int xc,int yc,int xa,int ya,GrPattern * p)26 void GrPatternFilledEllipse(int xc,int yc,int xa,int ya,GrPattern *p)
27 {
28 GrFillArg fa;
29
30 fa.p = p;
31 _GrScanEllipse(xc,yc,xa,ya,&_GrPatternFiller,fa,TRUE);
32 }
33