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
7c77354f
Commit
7c77354f
authored
Dec 18, 1998
by
Huw D M Davies
Committed by
Alexandre Julliard
Dec 18, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented PolylineTo.
parent
92d44b4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
painting.c
graphics/painting.c
+18
-2
No files found.
graphics/painting.c
View file @
7c77354f
...
@@ -729,8 +729,24 @@ BOOL32 WINAPI Polyline32( HDC32 hdc, const POINT32* pt, INT32 count )
...
@@ -729,8 +729,24 @@ BOOL32 WINAPI Polyline32( HDC32 hdc, const POINT32* pt, INT32 count )
*/
*/
BOOL32
WINAPI
PolylineTo32
(
HDC32
hdc
,
const
POINT32
*
pt
,
DWORD
cCount
)
BOOL32
WINAPI
PolylineTo32
(
HDC32
hdc
,
const
POINT32
*
pt
,
DWORD
cCount
)
{
{
FIXME
(
gdi
,
"PolylineTo, stub
\n
"
);
POINT32
*
pts
=
HeapAlloc
(
GetProcessHeap
(),
0
,
return
0
;
sizeof
(
POINT32
)
*
(
cCount
+
1
)
);
if
(
!
pts
)
return
FALSE
;
/* Get the current point */
MoveToEx32
(
hdc
,
0
,
0
,
pts
);
/* Add in the other points */
memcpy
(
pts
+
1
,
pt
,
sizeof
(
POINT32
)
*
cCount
);
/* Draw the lines */
Polyline32
(
hdc
,
pts
,
cCount
+
1
);
/* Move to last point */
MoveToEx32
(
hdc
,
(
pts
+
cCount
)
->
x
,
(
pts
+
cCount
)
->
y
,
NULL
);
HeapFree
(
GetProcessHeap
(),
0
,
pts
);
return
TRUE
;
}
}
/**********************************************************************
/**********************************************************************
...
...
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