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.c | |
parent | c4bc1693ae8bbc4bff3891b1d06b110025c23579 (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'transform.c')
-rw-r--r-- | transform.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/transform.c b/transform.c index 60a717a..7f78da1 100644 --- a/transform.c +++ b/transform.c @@ -26,21 +26,20 @@ other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/programs/oclock/transform.c,v 3.5 2001/12/14 20:01:00 dawes Exp $ */ /* * transformed coordinate system objects for X */ -# include <X11/Xlib.h> -# include "transform.h" +#include <X11/Xlib.h> +#include "transform.h" +#include <stdlib.h> -static XPoint * -TranslatePoints (points, n_points, t, mode) -TPoint *points; -int n_points; -Transform *t; -int mode; +static XPoint * +TranslatePoints(TPoint *points, int n_points, + Transform *t, int mode) { XPoint *xpoints; int i; @@ -60,6 +59,7 @@ int mode; return xpoints; } +void TFillPolygon (dpy, d, gc, t, points, n_points, shape, mode) register Display *dpy; Drawable d; @@ -80,6 +80,7 @@ int mode; } } +void TDrawArc (dpy, d, gc, t, x, y, width, height, angle1, angle2) register Display *dpy; Drawable d; @@ -105,6 +106,7 @@ TDrawArc (dpy, d, gc, t, x, y, width, height, angle1, angle2) XDrawArc (dpy, d, gc, xx, xy, xw, xh, angle1, angle2); } +void TFillArc (dpy, d, gc, t, x, y, width, height, angle1, angle2) register Display *dpy; Drawable d; @@ -130,6 +132,7 @@ TFillArc (dpy, d, gc, t, x, y, width, height, angle1, angle2) XFillArc (dpy, d, gc, xx, xy, xw, xh, angle1, angle2); } +void SetTransform (t, xx1, xx2, xy1, xy2, tx1, tx2, ty1, ty2) Transform *t; int xx1, xx2, xy1, xy2; |