gdi32: Introduce NtGdiMoveTo.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c1f63c0894
commit
af039dc5ab
|
@ -33,3 +33,12 @@ BOOL WINAPI LineTo( HDC hdc, INT x, INT y )
|
||||||
TRACE( "%p, (%d, %d)\n", hdc, x, y );
|
TRACE( "%p, (%d, %d)\n", hdc, x, y );
|
||||||
return NtGdiLineTo( hdc, x, y );
|
return NtGdiLineTo( hdc, x, y );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* MoveToEx (GDI32.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI MoveToEx( HDC hdc, INT x, INT y, POINT *pt )
|
||||||
|
{
|
||||||
|
TRACE( "%p, (%d, %d), %p\n", hdc, x, y, pt );
|
||||||
|
return NtGdiMoveTo( hdc, x, y, pt );
|
||||||
|
}
|
||||||
|
|
|
@ -251,16 +251,14 @@ BOOL WINAPI NtGdiLineTo( HDC hdc, INT x, INT y )
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* MoveToEx (GDI32.@)
|
* NtGdiMoveTo (win32u.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI MoveToEx( HDC hdc, INT x, INT y, LPPOINT pt )
|
BOOL WINAPI NtGdiMoveTo( HDC hdc, INT x, INT y, POINT *pt )
|
||||||
{
|
{
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
PHYSDEV physdev;
|
PHYSDEV physdev;
|
||||||
DC * dc = get_dc_ptr( hdc );
|
DC * dc = get_dc_ptr( hdc );
|
||||||
|
|
||||||
TRACE( "%p, (%d, %d), %p\n", hdc, x, y, pt );
|
|
||||||
|
|
||||||
if(!dc) return FALSE;
|
if(!dc) return FALSE;
|
||||||
|
|
||||||
if(pt)
|
if(pt)
|
||||||
|
|
Loading…
Reference in New Issue