1 /**
2 ** upfellia.c
3 **
4 ** Copyright (C) 1997, Michael Goffioul
5 ** [goffioul@emic.ucl.ac.be]
6 **
7 ** This file is part of the GRX graphics library.
8 **
9 ** The GRX graphics library is free software; you can redistribute it
10 ** and/or modify it under some conditions; see the "copying.grx" file
11 ** for details.
12 **
13 ** This library is distributed in the hope that it will be useful,
14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 **
17 **/
18
19 #include "libgrx.h"
20 #include "usercord.h"
21
GrUsrPatternFilledEllipseArc(int xc,int yc,int xa,int ya,int start,int end,int style,GrPattern * p)22 void GrUsrPatternFilledEllipseArc(int xc,int yc,int xa,int ya,int start,int end,int style,GrPattern *p)
23 {
24 U2SX(xc,CURC);
25 U2SY(yc,CURC);
26 SCALE(xa,xa,CURC->gc_xmax,CURC->gc_usrwidth);
27 SCALE(ya,ya,CURC->gc_ymax,CURC->gc_usrheight);
28 GrPatternFilledEllipseArc(xc,yc,xa,ya,start,end,style,p);
29 }
30