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
d0ba8711
Commit
d0ba8711
authored
Jul 06, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipClosePathFigures.
parent
8c129197
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphicspath.c
dlls/gdiplus/graphicspath.c
+17
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
d0ba8711
...
...
@@ -55,7 +55,7 @@
@ stub GdipCloneRegion
@ stub GdipCloneStringFormat
@ stdcall GdipClosePathFigure(ptr)
@ st
ub GdipClosePathFigures
@ st
dcall GdipClosePathFigures(ptr)
@ stub GdipCombineRegionPath
@ stub GdipCombineRegionRect
@ stub GdipCombineRegionRectI
...
...
dlls/gdiplus/graphicspath.c
View file @
d0ba8711
...
...
@@ -103,6 +103,23 @@ GpStatus WINGDIPAPI GdipClosePathFigure(GpPath* path)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipClosePathFigures
(
GpPath
*
path
)
{
INT
i
;
if
(
!
path
)
return
InvalidParameter
;
for
(
i
=
1
;
i
<
path
->
pathdata
.
Count
;
i
++
){
if
(
path
->
pathdata
.
Types
[
i
]
==
PathPointTypeStart
)
path
->
pathdata
.
Types
[
i
-
1
]
|=
PathPointTypeCloseSubpath
;
}
path
->
newfigure
=
TRUE
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreatePath
(
GpFillMode
fill
,
GpPath
**
path
)
{
if
(
!
path
)
...
...
include/gdiplusflat.h
View file @
d0ba8711
...
...
@@ -50,6 +50,7 @@ GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
GpStatus
WINGDIPAPI
GdipAddPathLine2
(
GpPath
*
,
GDIPCONST
GpPointF
*
,
INT
);
GpStatus
WINGDIPAPI
GdipClosePathFigure
(
GpPath
*
);
GpStatus
WINGDIPAPI
GdipClosePathFigures
(
GpPath
*
);
GpStatus
WINGDIPAPI
GdipCreatePath
(
GpFillMode
,
GpPath
**
);
GpStatus
WINGDIPAPI
GdipDeletePath
(
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