gdiplus: When copying an image do not round pixel positions up.

Dmitry Timoshkov dmitry at
Mon Aug 27 21:05:07 CDT 2012

Vincent Povirk <madewokherd at> wrote:

> > Just write a test with GdipDrawImageI and scenario described above and
> > you will see the problem. In my case it's even more visible because of
> > indirect magnifaction: image with resolution 100 dpi is being copied to
> > device with 300 dpi.
> I just did, and the behavior, though it looks wrong, is the same
> between builtin and native - the image is shifted by 1/2 pixel so that
> it's cut off at the upper-left and we have extra transparent space at
> the lower-right.

With native gdiplus scenario described earlier works just fine for me,
while with built-in there are black borders on bottom/right.


More information about the wine-devel mailing list