diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:57 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:57 +0000 |
commit | 71633e81c3dd2135c7c4c67c954dc0b7f162f7dc (patch) | |
tree | bd808426b18c9bad3411e0f1065f52fcb89462b1 /transform.c | |
parent | c4bc1693ae8bbc4bff3891b1d06b110025c23579 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
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; |