Re: gdiplus: fix rounding error (?)
29 Oct
2012
29 Oct
'12
10:22 a.m.
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.
4791
Age (days ago)
4791
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vincent Povirk