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
c41a77a3
Commit
c41a77a3
authored
Jul 12, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipAddPathPath.
parent
d174bcc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletion
+31
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphicspath.c
dlls/gdiplus/graphicspath.c
+29
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
c41a77a3
...
...
@@ -20,7 +20,7 @@
@ stub GdipAddPathLine2I
@ stub GdipAddPathLine
@ stub GdipAddPathLineI
@ st
ub GdipAddPathPath
@ st
dcall GdipAddPathPath(ptr ptr long)
@ stub GdipAddPathPie
@ stub GdipAddPathPieI
@ stub GdipAddPathPolygon
...
...
dlls/gdiplus/graphicspath.c
View file @
c41a77a3
...
...
@@ -123,6 +123,35 @@ GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipAddPathPath
(
GpPath
*
path
,
GDIPCONST
GpPath
*
addingPath
,
BOOL
connect
)
{
INT
old_count
,
count
;
if
(
!
path
||
!
addingPath
)
return
InvalidParameter
;
old_count
=
path
->
pathdata
.
Count
;
count
=
addingPath
->
pathdata
.
Count
;
if
(
!
lengthen_path
(
path
,
count
))
return
OutOfMemory
;
memcpy
(
&
path
->
pathdata
.
Points
[
old_count
],
addingPath
->
pathdata
.
Points
,
count
*
sizeof
(
GpPointF
));
memcpy
(
&
path
->
pathdata
.
Types
[
old_count
],
addingPath
->
pathdata
.
Types
,
count
);
if
(
path
->
newfigure
||
!
connect
)
path
->
pathdata
.
Types
[
old_count
]
=
PathPointTypeStart
;
else
path
->
pathdata
.
Types
[
old_count
]
=
PathPointTypeLine
;
path
->
newfigure
=
FALSE
;
path
->
pathdata
.
Count
+=
count
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipClosePathFigure
(
GpPath
*
path
)
{
if
(
!
path
)
...
...
include/gdiplusflat.h
View file @
c41a77a3
...
...
@@ -52,6 +52,7 @@ GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
GpStatus
WINGDIPAPI
GdipAddPathArc
(
GpPath
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
);
GpStatus
WINGDIPAPI
GdipAddPathLine2
(
GpPath
*
,
GDIPCONST
GpPointF
*
,
INT
);
GpStatus
WINGDIPAPI
GdipAddPathPath
(
GpPath
*
,
GDIPCONST
GpPath
*
,
BOOL
);
GpStatus
WINGDIPAPI
GdipClosePathFigure
(
GpPath
*
);
GpStatus
WINGDIPAPI
GdipClosePathFigures
(
GpPath
*
);
GpStatus
WINGDIPAPI
GdipCreatePath
(
GpFillMode
,
GpPath
**
);
...
...
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