diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
commit | 4741472b2bec4c3480b2b60b0da72c911829d405 (patch) | |
tree | bd808426b18c9bad3411e0f1065f52fcb89462b1 /transform.h | |
parent | c4bc1693ae8bbc4bff3891b1d06b110025c23579 (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'transform.h')
-rw-r--r-- | transform.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/transform.h b/transform.h index 6377979..47ec2ed 100644 --- a/transform.h +++ b/transform.h @@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/programs/oclock/transform.h,v 1.5 2001/12/14 20:01:00 dawes Exp $ */ /* @@ -54,3 +55,14 @@ typedef struct _TRectangle { # define Ty(x,y,t) ((((double) (y)) - (t)->by) / (t)->my) # define Twidth(w,h,t) (((double) (w)) / (t)->mx) # define Theight(w,h,t) (((double) (h)) / (t)->my) + +extern void TFillPolygon ( Display *dpy, Drawable d, GC gc, Transform *t, + TPoint *points, int n_points, int shape, int mode ); +extern void TDrawArc ( Display *dpy, Drawable d, GC gc, Transform *t, + double x, double y, double width, double height, + int angle1, int angle2 ); +extern void TFillArc ( Display *dpy, Drawable d, GC gc, Transform *t, + double x, double y, double width, double height, + int angle1, int angle2 ); +extern void SetTransform ( Transform *t, int xx1, int xx2, int xy1, int xy2, + double tx1, double tx2, double ty1, double ty2 ); |