1 /**
2  ** upellia.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 
22 
GrUsrPatternedEllipseArc(int xc,int yc,int xa,int ya,int start,int end,int style,GrLinePattern * lp)23 void GrUsrPatternedEllipseArc(int xc,int yc,int xa,int ya,int start,int end,int style,GrLinePattern *lp)
24 {
25 	U2SX(xc,CURC);
26 	U2SY(yc,CURC);
27 	SCALE(xa,xa,CURC->gc_xmax,CURC->gc_usrwidth);
28 	SCALE(ya,ya,CURC->gc_ymax,CURC->gc_usrheight);
29 	GrPatternedEllipseArc(xc,yc,xa,ya,start,end,style,lp);
30 }
31