Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
af039dc5
Commit
af039dc5
authored
Jul 17, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
c1f63c08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
gdidc.c
dlls/gdi32/gdidc.c
+9
-0
painting.c
dlls/gdi32/painting.c
+2
-4
No files found.
dlls/gdi32/gdidc.c
View file @
af039dc5
...
...
@@ -33,3 +33,12 @@ BOOL WINAPI LineTo( HDC hdc, INT x, INT y )
TRACE
(
"%p, (%d, %d)
\n
"
,
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
);
}
dlls/gdi32/painting.c
View file @
af039dc5
...
...
@@ -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
;
PHYSDEV
physdev
;
DC
*
dc
=
get_dc_ptr
(
hdc
);
TRACE
(
"%p, (%d, %d), %p
\n
"
,
hdc
,
x
,
y
,
pt
);
if
(
!
dc
)
return
FALSE
;
if
(
pt
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment