[1/2] gdiplus: Measure the passed in string without clipping in order to compute correct Y offset.

Vincent Povirk madewokherd at gmail.com
Mon May 14 08:54:46 CDT 2012


>> > +            GdipMeasureString(graphics, string, length, font, &bounds, format, &bounds, 0, 0);
>>
>> You probably shouldn't use the same GpRect* for both parameters there.
>
> I don't see any problem with that.

GdipMeasureString modifies the out parameter and reads the in
parameter as it goes, and it doesn't account for the possibility that
it is modifying its own input rectangle.



More information about the wine-devel mailing list