mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 15:32:11 +00:00
[WIN32K] More cleanup & improvements
Use FLOATOBJs to perform device<->world transformations, avoiding use of XFORMOBJ all the time Remove unused macros & functions
This commit is contained in:
parent
3bad3c49e1
commit
405ce53211
5 changed files with 96 additions and 144 deletions
|
@ -743,7 +743,7 @@ NtGdiGetBoundsRect(
|
|||
DPRINT(" r %d b %d\n",rc.right,rc.bottom);
|
||||
ret = DCB_SET;
|
||||
}
|
||||
IntDPtoLP( pdc, &rc, 2 );
|
||||
IntDPtoLP(pdc, (PPOINTL)&rc, 2);
|
||||
DPRINT("rc1 l %d t %d\n",rc.left,rc.top);
|
||||
DPRINT(" r %d b %d\n",rc.right,rc.bottom);
|
||||
}
|
||||
|
@ -838,7 +838,7 @@ NtGdiSetBoundsRect(
|
|||
RECTL_vMakeWellOrdered(&rcl);
|
||||
|
||||
if (!(flags & DCB_WINDOWMGR))
|
||||
{
|
||||
{
|
||||
IntLPtoDP( pdc, (POINT *)&rcl, 2 );
|
||||
RECTL_bUnionRect(&pdc->erclBoundsApp, &pdc->erclBoundsApp, &rcl);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue