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
7cccd36c
Commit
7cccd36c
authored
Feb 18, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Forward GdipDrawLineI to GdipDrawLine.
parent
0ed65a2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
28 deletions
+1
-28
graphics.c
dlls/gdiplus/graphics.c
+1
-28
No files found.
dlls/gdiplus/graphics.c
View file @
7cccd36c
...
...
@@ -3539,36 +3539,9 @@ GpStatus WINGDIPAPI GdipDrawLine(GpGraphics *graphics, GpPen *pen, REAL x1,
GpStatus
WINGDIPAPI
GdipDrawLineI
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
INT
x1
,
INT
y1
,
INT
x2
,
INT
y2
)
{
INT
save_state
;
GpPointF
pt
[
2
];
GpStatus
retval
;
TRACE
(
"(%p, %p, %d, %d, %d, %d)
\n
"
,
graphics
,
pen
,
x1
,
y1
,
x2
,
y2
);
if
(
!
pen
||
!
graphics
)
return
InvalidParameter
;
if
(
graphics
->
busy
)
return
ObjectBusy
;
if
(
!
graphics
->
hdc
)
{
FIXME
(
"graphics object has no HDC
\n
"
);
return
Ok
;
}
pt
[
0
].
X
=
(
REAL
)
x1
;
pt
[
0
].
Y
=
(
REAL
)
y1
;
pt
[
1
].
X
=
(
REAL
)
x2
;
pt
[
1
].
Y
=
(
REAL
)
y2
;
save_state
=
prepare_dc
(
graphics
,
pen
);
retval
=
draw_polyline
(
graphics
,
pen
,
pt
,
2
,
TRUE
);
restore_dc
(
graphics
,
save_state
);
return
retval
;
return
GdipDrawLine
(
graphics
,
pen
,
(
REAL
)
x1
,
(
REAL
)
y1
,
(
REAL
)
x2
,
(
REAL
)
y2
);
}
GpStatus
WINGDIPAPI
GdipDrawLines
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
GDIPCONST
...
...
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