gdiplus: Add support for extra transformation in GdipMeasureDriverString and GdipDrawDriverString.

Dmitry Timoshkov dmitry at baikal.ru
Wed Oct 31 12:23:00 CDT 2012


Vincent Povirk <madewokherd at gmail.com> wrote:

> >> Without tests, I can only guess, but I think it's more likely that
> >> this matrix transform should be applied before the world->device
> >> transform.
> >>
> >> Apart from questions of whether this is correct behavior, the patch
> >> looks good to me.
> >
> > I have written a graphical test application to test this behaviour,
> > and it shows the same results under Windows7 and Wine with this patch.
> > There are the tests I've added for GdipMeasureDriverString+matrix, but
> > they don't pass for not various not related reasons.
> 
> It doesn't look to me like any of the tests are checking the order. An
> obvious way to do that would be to sheer or rotate with one and scale
> X/Y differently with the other.

Yes, that's a good suggestion, but the tests currently won't pass anyway,
so adding a test would not prove anything. As I said, the only way to test
the result at this point is a visual test (which I have here).

-- 
Dmitry.



More information about the wine-devel mailing list