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
8c129197
Commit
8c129197
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 GdipClosePathFigure.
parent
e4118c18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphicspath.c
dlls/gdiplus/graphicspath.c
+13
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
8c129197
...
...
@@ -54,7 +54,7 @@
@ stub GdipClonePen
@ stub GdipCloneRegion
@ stub GdipCloneStringFormat
@ st
ub GdipClosePathFigure
@ st
dcall GdipClosePathFigure(ptr)
@ stub GdipClosePathFigures
@ stub GdipCombineRegionPath
@ stub GdipCombineRegionRect
...
...
dlls/gdiplus/graphicspath.c
View file @
8c129197
...
...
@@ -90,6 +90,19 @@ GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipClosePathFigure
(
GpPath
*
path
)
{
if
(
!
path
)
return
InvalidParameter
;
if
(
path
->
pathdata
.
Count
>
0
){
path
->
pathdata
.
Types
[
path
->
pathdata
.
Count
-
1
]
|=
PathPointTypeCloseSubpath
;
path
->
newfigure
=
TRUE
;
}
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreatePath
(
GpFillMode
fill
,
GpPath
**
path
)
{
if
(
!
path
)
...
...
include/gdiplusflat.h
View file @
8c129197
...
...
@@ -49,6 +49,7 @@ GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
GpStatus
WINGDIPAPI
GdipDeleteBrush
(
GpBrush
*
);
GpStatus
WINGDIPAPI
GdipAddPathLine2
(
GpPath
*
,
GDIPCONST
GpPointF
*
,
INT
);
GpStatus
WINGDIPAPI
GdipClosePathFigure
(
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