4 typedef struct gpsdisplay {
5 struct displayfuncs *funcs;
8 static void PSMyArc(double cx, double cy, double radx, double rady, double sa, double ta) {
13 temp = ((int)((sa + 90) / 90)) * 90;
14 PSDoArc(cx, sa, ea < temp ? ea : temp);
18 static void PSDrawElipse() {
23 if (radx != rady) PSMyArc(cx, cy, radx, rady, 0, 360);
25 static void PSDrawFillCircle() {
28 static struct displayfuncs psfuncs[] = {
30 void _GPSDraw_CreateDisplay() {
32 gdisp->funcs = (void *)&psfuncs;