mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:46:18 +00:00
Sorry missed this one. Turn it off.
svn path=/trunk/; revision=28445
This commit is contained in:
parent
1cdbcdc32e
commit
c27ffbed0c
1 changed files with 4 additions and 4 deletions
|
@ -121,7 +121,7 @@ BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
LPtoDP ( HDC hDC, LPPOINT Points, INT Count )
|
LPtoDP ( HDC hDC, LPPOINT Points, INT Count )
|
||||||
{
|
{
|
||||||
//#if 0
|
#if 0
|
||||||
INT i;
|
INT i;
|
||||||
PDC_ATTR Dc_Attr;
|
PDC_ATTR Dc_Attr;
|
||||||
|
|
||||||
|
@ -130,16 +130,16 @@ LPtoDP ( HDC hDC, LPPOINT Points, INT Count )
|
||||||
if (Dc_Attr->flXform & ( PAGE_XLATE_CHANGED | // Check for Changes and Updates
|
if (Dc_Attr->flXform & ( PAGE_XLATE_CHANGED | // Check for Changes and Updates
|
||||||
PAGE_EXTENTS_CHANGED |
|
PAGE_EXTENTS_CHANGED |
|
||||||
WORLD_XFORM_CHANGED ))
|
WORLD_XFORM_CHANGED ))
|
||||||
//#endif
|
#endif
|
||||||
return NtGdiTransformPoints( hDC, Points, Points, Count, GdiLpToDp); // LPtoDP mode
|
return NtGdiTransformPoints( hDC, Points, Points, Count, GdiLpToDp); // LPtoDP mode
|
||||||
//#if 0
|
#if 0
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for ( i = 0; i < Count; i++ )
|
for ( i = 0; i < Count; i++ )
|
||||||
CoordCnvP ( &Dc_Attr->mxWorldToDevice, &Points[i] );
|
CoordCnvP ( &Dc_Attr->mxWorldToDevice, &Points[i] );
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
//#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue