Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
90ff0fdd
Commit
90ff0fdd
authored
Jul 16, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipPathIterNextSubpath.
parent
ef6c4166
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
1 deletion
+36
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
pathiterator.c
dlls/gdiplus/pathiterator.c
+34
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
90ff0fdd
...
...
@@ -440,7 +440,7 @@
@ stub GdipPathIterNextMarker
@ stub GdipPathIterNextMarkerPath
@ stub GdipPathIterNextPathType
@ st
ub GdipPathIterNextSubpath
@ st
dcall GdipPathIterNextSubpath(ptr ptr ptr ptr ptr)
@ stub GdipPathIterNextSubpathPath
@ stub GdipPathIterRewind
@ stub GdipPlayMetafileRecord
...
...
dlls/gdiplus/pathiterator.c
View file @
90ff0fdd
...
...
@@ -83,3 +83,37 @@ GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator* iterator,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipPathIterNextSubpath
(
GpPathIterator
*
iterator
,
INT
*
resultCount
,
INT
*
startIndex
,
INT
*
endIndex
,
BOOL
*
isClosed
)
{
INT
i
,
count
;
if
(
!
iterator
)
return
InvalidParameter
;
count
=
iterator
->
pathdata
.
Count
;
if
(
iterator
->
subpath_pos
==
count
){
*
startIndex
=
*
endIndex
=
*
resultCount
=
0
;
*
isClosed
=
1
;
return
Ok
;
}
*
startIndex
=
iterator
->
subpath_pos
;
for
(
i
=
iterator
->
subpath_pos
+
1
;
i
<
count
&&
!
(
iterator
->
pathdata
.
Types
[
i
]
==
PathPointTypeStart
);
i
++
);
*
endIndex
=
i
-
1
;
iterator
->
subpath_pos
=
i
;
*
resultCount
=
*
endIndex
-
*
startIndex
+
1
;
if
(
iterator
->
pathdata
.
Types
[
*
endIndex
]
&
PathPointTypeCloseSubpath
)
*
isClosed
=
TRUE
;
else
*
isClosed
=
FALSE
;
return
Ok
;
}
include/gdiplusflat.h
View file @
90ff0fdd
...
...
@@ -89,6 +89,7 @@ GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
GpStatus
WINGDIPAPI
GdipDeletePathIter
(
GpPathIterator
*
);
GpStatus
WINGDIPAPI
GdipPathIterCopyData
(
GpPathIterator
*
,
INT
*
,
GpPointF
*
,
BYTE
*
,
INT
,
INT
);
GpStatus
WINGDIPAPI
GdipPathIterNextSubpath
(
GpPathIterator
*
,
INT
*
,
INT
*
,
INT
*
,
BOOL
*
);
#ifdef __cplusplus
}
...
...
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