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
1f8f5578
Commit
1f8f5578
authored
Apr 20, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipAddPathLine.
parent
7df19367
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphicspath.c
dlls/gdiplus/graphicspath.c
+10
-5
No files found.
dlls/gdiplus/gdiplus.spec
View file @
1f8f5578
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
@ stub GdipAddPathEllipseI
@ stub GdipAddPathEllipseI
@ stdcall GdipAddPathLine2(ptr ptr long)
@ stdcall GdipAddPathLine2(ptr ptr long)
@ stdcall GdipAddPathLine2I(ptr ptr long)
@ stdcall GdipAddPathLine2I(ptr ptr long)
@ st
ub GdipAddPathLine
@ st
dcall GdipAddPathLine(ptr long long long long)
@ stdcall GdipAddPathLineI(ptr long long long long)
@ stdcall GdipAddPathLineI(ptr long long long long)
@ stdcall GdipAddPathPath(ptr ptr long)
@ stdcall GdipAddPathPath(ptr ptr long)
@ stub GdipAddPathPie
@ stub GdipAddPathPie
...
...
dlls/gdiplus/graphicspath.c
View file @
1f8f5578
...
@@ -247,7 +247,7 @@ GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath *path, GDIPCONST GpPoint *points, I
...
@@ -247,7 +247,7 @@ GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath *path, GDIPCONST GpPoint *points, I
return
stat
;
return
stat
;
}
}
GpStatus
WINGDIPAPI
GdipAddPathLine
I
(
GpPath
*
path
,
INT
x1
,
INT
y1
,
INT
x2
,
INT
y2
)
GpStatus
WINGDIPAPI
GdipAddPathLine
(
GpPath
*
path
,
REAL
x1
,
REAL
y1
,
REAL
x2
,
REAL
y2
)
{
{
INT
old_count
;
INT
old_count
;
...
@@ -259,10 +259,10 @@ GpStatus WINGDIPAPI GdipAddPathLineI(GpPath *path, INT x1, INT y1, INT x2, INT y
...
@@ -259,10 +259,10 @@ GpStatus WINGDIPAPI GdipAddPathLineI(GpPath *path, INT x1, INT y1, INT x2, INT y
old_count
=
path
->
pathdata
.
Count
;
old_count
=
path
->
pathdata
.
Count
;
path
->
pathdata
.
Points
[
old_count
].
X
=
(
REAL
)
x1
;
path
->
pathdata
.
Points
[
old_count
].
X
=
x1
;
path
->
pathdata
.
Points
[
old_count
].
Y
=
(
REAL
)
y1
;
path
->
pathdata
.
Points
[
old_count
].
Y
=
y1
;
path
->
pathdata
.
Points
[
old_count
+
1
].
X
=
(
REAL
)
x2
;
path
->
pathdata
.
Points
[
old_count
+
1
].
X
=
x2
;
path
->
pathdata
.
Points
[
old_count
+
1
].
Y
=
(
REAL
)
y2
;
path
->
pathdata
.
Points
[
old_count
+
1
].
Y
=
y2
;
path
->
pathdata
.
Types
[
old_count
]
=
path
->
pathdata
.
Types
[
old_count
]
=
(
path
->
newfigure
?
PathPointTypeStart
:
PathPointTypeLine
);
(
path
->
newfigure
?
PathPointTypeStart
:
PathPointTypeLine
);
...
@@ -274,6 +274,11 @@ GpStatus WINGDIPAPI GdipAddPathLineI(GpPath *path, INT x1, INT y1, INT x2, INT y
...
@@ -274,6 +274,11 @@ GpStatus WINGDIPAPI GdipAddPathLineI(GpPath *path, INT x1, INT y1, INT x2, INT y
return
Ok
;
return
Ok
;
}
}
GpStatus
WINGDIPAPI
GdipAddPathLineI
(
GpPath
*
path
,
INT
x1
,
INT
y1
,
INT
x2
,
INT
y2
)
{
return
GdipAddPathLine
(
path
,
(
REAL
)
x1
,
(
REAL
)
y1
,
(
REAL
)
x2
,
(
REAL
)
y2
);
}
GpStatus
WINGDIPAPI
GdipAddPathPath
(
GpPath
*
path
,
GDIPCONST
GpPath
*
addingPath
,
GpStatus
WINGDIPAPI
GdipAddPathPath
(
GpPath
*
path
,
GDIPCONST
GpPath
*
addingPath
,
BOOL
connect
)
BOOL
connect
)
{
{
...
...
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