Fixed transformed images to not be 1 pixel too big

This commit is contained in:
Carl Worth 2003-02-14 07:22:19 +00:00
parent d4ba730ba2
commit d084434770
3 changed files with 9 additions and 4 deletions

View file

@ -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

View file

@ -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);

View file

@ -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);