1 /**
2 ** uelli.c
3 **
4 ** Copyright (C) 1992, Csaba Biegl
5 ** 820 Stirrup Dr, Nashville, TN, 37221
6 ** csaba@vuse.vanderbilt.edu
7 **
8 ** Copyright (C) 1997, Michael Goffioul
9 ** [goffioul@emic.ucl.ac.be]
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 "usercord.h"
25
GrUsrEllipse(int xc,int yc,int xa,int ya,GrColor c)26 void GrUsrEllipse(int xc,int yc,int xa,int ya,GrColor c)
27 {
28 U2SX(xc,CURC);
29 U2SY(yc,CURC);
30 SCALE(xa,xa,CURC->gc_xmax,CURC->gc_usrwidth);
31 SCALE(ya,ya,CURC->gc_ymax,CURC->gc_usrheight);
32 GrEllipse(xc,yc,xa,ya,c);
33 }
34