summaryrefslogtreecommitdiff
path: root/fb/fb.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-12-02 08:37:20 -0800
committerKeith Packard <keithp@keithp.com>2009-12-11 11:51:45 -0800
commita72c65e9176c51de95db2fdbf4c5d946a4911695 (patch)
tree346647afe949730b6a3eed0f8b1628a058129804 /fb/fb.h
parentbd567061c8b84b268d9bbb01bc4d8981feefb862 (diff)
fb: Adjust transform or composite coordinates for pixman operations
Windows (or even pixmaps, in some cases) may not sit at the origin of the containing pixmap, so any coordinates relative to the drawable must be adjusted. For destinations and untransformed sources, the operation coordinates are adjusted. For transformed sources, the transform matrix is adjusted. Signed-off-by: Keith Packard <keithp@keithp.com> Acked-by: Soeren Sandmann <sandmann@daimi.au.dk>
Diffstat (limited to 'fb/fb.h')
-rw-r--r--fb/fb.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fb/fb.h b/fb/fb.h
index ed21f9eb6..02d6c0372 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -2082,8 +2082,11 @@ fbFillRegionSolid (DrawablePtr pDrawable,
FbBits xor);
extern _X_EXPORT pixman_image_t *
-image_from_pict (PicturePtr pict,
- Bool has_clip);
+image_from_pict (PicturePtr pict,
+ Bool has_clip,
+ int *xoff,
+ int *yoff);
+
extern _X_EXPORT void free_pixman_pict (PicturePtr, pixman_image_t *);
#endif /* _FB_H_ */