|
|
1.1 root 1: #if defined(sparc)
2: #include "jerq.h"
3:
4: Point Pt(x,y)
5: {
6: Point p;
7:
8: p.x = x;
9: p.y = y;
10: return p;
11: }
12:
13: Rectangle Rect(x1,y1,x2,y2)
14: {
15: Rectangle r;
16:
17: r.origin.x = x1;
18: r.origin.y = y1;
19: r.corner.x = x2;
20: r.corner.y = y2;
21: return r;
22: }
23:
24: Rectangle Rpt(p1, p2)
25: Point p1, p2;
26: {
27: Rectangle r;
28:
29: r.origin.x = p1.x;
30: r.origin.y = p1.y;
31: r.corner.x = p2.x;
32: r.corner.y = p2.y;
33: return r;
34: }
35: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.