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

Vincent Povirk madewokherd at gmail.com
Mon May 14 09:39:55 CDT 2012


OK, but if the rect passed to GdipDrawString has a non-zero width, and
depending on the string formatting options, GdipDrawString may wrap
the text. GdipMeasureString will not wrap the text if you call it with
a width of 0.

On Mon, May 14, 2012 at 9:37 AM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> Vincent Povirk <madewokherd at gmail.com> wrote:
>
>> If the string wraps, and you don't give the width to
>> GdipMeasureString, won't it return a too small height?
>
> GdipMeasureString considers an empty rect as a rect without clipping.
>
> --
> Dmitry.



More information about the wine-devel mailing list