diff options
Diffstat (limited to 'xorg-server/randr/rrtransform.h')
-rw-r--r-- | xorg-server/randr/rrtransform.h | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/xorg-server/randr/rrtransform.h b/xorg-server/randr/rrtransform.h index 561762dfe..efce7e0d7 100644 --- a/xorg-server/randr/rrtransform.h +++ b/xorg-server/randr/rrtransform.h @@ -26,50 +26,47 @@ #include <X11/extensions/randr.h> #include "picturestr.h" -typedef struct _rrTransform RRTransformRec, *RRTransformPtr; +typedef struct _rrTransform RRTransformRec, *RRTransformPtr; struct _rrTransform { - PictTransform transform; + PictTransform transform; struct pict_f_transform f_transform; struct pict_f_transform f_inverse; - PictFilterPtr filter; - xFixed *params; - int nparams; - int width; - int height; + PictFilterPtr filter; + xFixed *params; + int nparams; + int width; + int height; }; extern _X_EXPORT void -RRTransformInit (RRTransformPtr transform); + RRTransformInit(RRTransformPtr transform); extern _X_EXPORT void -RRTransformFini (RRTransformPtr transform); + RRTransformFini(RRTransformPtr transform); extern _X_EXPORT Bool -RRTransformEqual (RRTransformPtr a, RRTransformPtr b); + RRTransformEqual(RRTransformPtr a, RRTransformPtr b); extern _X_EXPORT Bool -RRTransformSetFilter (RRTransformPtr dst, - PictFilterPtr filter, - xFixed *params, - int nparams, - int width, - int height); -extern _X_EXPORT Bool -RRTransformCopy (RRTransformPtr dst, RRTransformPtr src); +RRTransformSetFilter(RRTransformPtr dst, + PictFilterPtr filter, + xFixed * params, int nparams, int width, int height); extern _X_EXPORT Bool -RRTransformCompute (int x, - int y, - int width, - int height, - Rotation rotation, - RRTransformPtr rr_transform, + RRTransformCopy(RRTransformPtr dst, RRTransformPtr src); - PictTransformPtr transform, - struct pict_f_transform *f_transform, - struct pict_f_transform *f_inverse); +extern _X_EXPORT Bool +RRTransformCompute(int x, + int y, + int width, + int height, + Rotation rotation, + RRTransformPtr rr_transform, + PictTransformPtr transform, + struct pict_f_transform *f_transform, + struct pict_f_transform *f_inverse); -#endif /* _RRTRANSFORM_H_ */ +#endif /* _RRTRANSFORM_H_ */ |