diff options
author | Keith Packard <keithp@keithp.com> | 2009-12-02 08:37:20 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-11 11:51:45 -0800 |
commit | a72c65e9176c51de95db2fdbf4c5d946a4911695 (patch) | |
tree | 346647afe949730b6a3eed0f8b1628a058129804 /fb/fb.h | |
parent | bd567061c8b84b268d9bbb01bc4d8981feefb862 (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.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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_ */ |