mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:46:05 +00:00
[WIN32K]
Allow arbitrary transforms in NtGdiExtCreateRegion. Shearing and rotation are not handled correctly yet, but at least we do no longer fail on transforms that have scaling and an offset, which are classified as GX_GENERAL svn path=/trunk/; revision=65382
This commit is contained in:
parent
6ee2be9843
commit
5cd320d592
1 changed files with 2 additions and 2 deletions
|
@ -3668,8 +3668,8 @@ NtGdiExtCreateRegion(
|
||||||
XFORMOBJ_vInit(&xo, &matrix);
|
XFORMOBJ_vInit(&xo, &matrix);
|
||||||
ret = XFORMOBJ_iSetXform(&xo, (XFORML*)Xform);
|
ret = XFORMOBJ_iSetXform(&xo, (XFORML*)Xform);
|
||||||
|
|
||||||
/* Check for error, also no scale and shear allowed */
|
/* Check for error */
|
||||||
if (ret != DDI_ERROR && ret != GX_GENERAL)
|
if (ret != DDI_ERROR)
|
||||||
{
|
{
|
||||||
/* Apply the coordinate transformation on the rects */
|
/* Apply the coordinate transformation on the rects */
|
||||||
if (XFORMOBJ_bApplyXform(&xo,
|
if (XFORMOBJ_bApplyXform(&xo,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue