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
8ec2354b
Commit
8ec2354b
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 GdipDrawLinesI to GdipDrawLines.
parent
7cccd36c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
19 deletions
+2
-19
graphics.c
dlls/gdiplus/graphics.c
+2
-19
No files found.
dlls/gdiplus/graphics.c
View file @
8ec2354b
...
...
@@ -3576,25 +3576,12 @@ GpStatus WINGDIPAPI GdipDrawLines(GpGraphics *graphics, GpPen *pen, GDIPCONST
GpStatus
WINGDIPAPI
GdipDrawLinesI
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
GDIPCONST
GpPoint
*
points
,
INT
count
)
{
INT
save_state
;
GpStatus
retval
;
GpPointF
*
ptf
=
NULL
;
GpPointF
*
ptf
;
int
i
;
TRACE
(
"(%p, %p, %p, %d)
\n
"
,
graphics
,
pen
,
points
,
count
);
if
(
!
pen
||
!
graphics
||
(
count
<
2
))
return
InvalidParameter
;
if
(
graphics
->
busy
)
return
ObjectBusy
;
if
(
!
graphics
->
hdc
)
{
FIXME
(
"graphics object has no HDC
\n
"
);
return
Ok
;
}
ptf
=
GdipAlloc
(
count
*
sizeof
(
GpPointF
));
if
(
!
ptf
)
return
OutOfMemory
;
...
...
@@ -3603,11 +3590,7 @@ GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics *graphics, GpPen *pen, GDIPCONST
ptf
[
i
].
Y
=
(
REAL
)
points
[
i
].
Y
;
}
save_state
=
prepare_dc
(
graphics
,
pen
);
retval
=
draw_polyline
(
graphics
,
pen
,
ptf
,
count
,
TRUE
);
restore_dc
(
graphics
,
save_state
);
retval
=
GdipDrawLines
(
graphics
,
pen
,
ptf
,
count
);
GdipFree
(
ptf
);
return
retval
;
...
...
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