mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-27 23:20:14 +01:00
Fixed transformed images to not be 1 pixel too big
This commit is contained in:
parent
d4ba730ba2
commit
d084434770
3 changed files with 9 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2003-02-14 Carl Worth <cworth@east.isi.edu>
|
||||
|
||||
* xrgstate.c (_XrGStateShowImageTransform): Fixed transformed
|
||||
images which were sometimes 1 pixel too tall/wide.
|
||||
|
||||
2003-02-06 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* xrpen.c (_XrPenVerticesNeeded): Fixed to use determinant rather
|
||||
|
|
|
|||
|
|
@ -863,8 +863,8 @@ _XrGStateShowImageTransform(XrGState *gstate,
|
|||
dst_x, dst_y,
|
||||
0, 0,
|
||||
dst_x, dst_y,
|
||||
dst_width + 2,
|
||||
dst_height + 2);
|
||||
dst_width + 1,
|
||||
dst_height + 1);
|
||||
|
||||
_XrSurfaceDeinit(&image_surface);
|
||||
_XrSurfaceDeinit(&mask);
|
||||
|
|
|
|||
|
|
@ -863,8 +863,8 @@ _XrGStateShowImageTransform(XrGState *gstate,
|
|||
dst_x, dst_y,
|
||||
0, 0,
|
||||
dst_x, dst_y,
|
||||
dst_width + 2,
|
||||
dst_height + 2);
|
||||
dst_width + 1,
|
||||
dst_height + 1);
|
||||
|
||||
_XrSurfaceDeinit(&image_surface);
|
||||
_XrSurfaceDeinit(&mask);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue