Commit af039dc5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Introduce NtGdiMoveTo.

parent c1f63c08
...@@ -33,3 +33,12 @@ BOOL WINAPI LineTo( HDC hdc, INT x, INT y ) ...@@ -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 ) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment