Re: The XFORM matrix in PlgBlt is calculated incorrectly

2009-12-08 Thread Nikolay Sivov
Alexander Almaleh wrote: I'm talking about this code, from http://source.winehq.org/source/dlls/gdi32/bitblt.c, in function PlgBlt : I have a formula that so far seems to give always the correct matrix: xf.eM11 = (FLOAT) -(rect[1].y*plg[2].x+rect[0].y*(plg[1].x-plg[2].x)-rect[2].y*plg[1].x

The XFORM matrix in PlgBlt is calculated incorrectly

2009-12-08 Thread Alexander Almaleh
I'm talking about this code, from http://source.winehq.org/source/dlls/gdi32/bitblt.c, in function PlgBlt : 577 rect[0].x = nXSrc;578