[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: gdiplus: fix rounding error (?)
From:       Vincent Povirk <madewokherd () gmail ! com>
Date:       2012-10-29 15:22:02
Message-ID: CAG_NDKqhh=5GRbjjwNmpu9z_+Mi=VfRvNL-TMcoiaO0Pf1f_ZQ () mail ! gmail ! com
[Download RAW message or body]

That was the worst possible defence of this patch, but I think it
should be included.

What it's actually doing is removing the duplicated logic between the
earlier bit of GdipDrawString, where out-of-range sizes are set to 1
<< 23, and this if statement where we only apply a clipping rectangle
if the sizes are out of range. We could also have added a check for
e.g. scaled_rect.Width >= INT_MAX here, but I think it's better that
we don't duplicate the logic.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic