diff options
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 ); |