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
ef6c4166
Commit
ef6c4166
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 GdipPathIterCopyData.
parent
08508289
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
pathiterator.c
dlls/gdiplus/pathiterator.c
+21
-0
gdiplusflat.h
include/gdiplusflat.h
+2
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
ef6c4166
...
...
@@ -431,7 +431,7 @@
@ stub GdipMultiplyWorldTransform
@ stub GdipNewInstalledFontCollection
@ stub GdipNewPrivateFontCollection
@ st
ub GdipPathIterCopyData
@ st
dcall GdipPathIterCopyData(ptr ptr ptr ptr long long)
@ stub GdipPathIterEnumerate
@ stub GdipPathIterGetCount
@ stub GdipPathIterGetSubpathCount
...
...
dlls/gdiplus/pathiterator.c
View file @
ef6c4166
...
...
@@ -62,3 +62,24 @@ GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator *iter)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipPathIterCopyData
(
GpPathIterator
*
iterator
,
INT
*
resultCount
,
GpPointF
*
points
,
BYTE
*
types
,
INT
startIndex
,
INT
endIndex
)
{
if
(
!
iterator
||
!
types
||
!
points
)
return
InvalidParameter
;
if
(
endIndex
>
iterator
->
pathdata
.
Count
-
1
||
startIndex
<
0
||
endIndex
<
startIndex
){
*
resultCount
=
0
;
return
Ok
;
}
*
resultCount
=
endIndex
-
startIndex
+
1
;
memcpy
(
types
,
&
(
iterator
->
pathdata
.
Types
[
startIndex
]),
*
resultCount
);
memcpy
(
points
,
&
(
iterator
->
pathdata
.
Points
[
startIndex
]),
*
resultCount
*
sizeof
(
PointF
));
return
Ok
;
}
include/gdiplusflat.h
View file @
ef6c4166
...
...
@@ -87,6 +87,8 @@ GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
GpStatus
WINGDIPAPI
GdipCreatePathIter
(
GpPathIterator
**
,
GpPath
*
);
GpStatus
WINGDIPAPI
GdipDeletePathIter
(
GpPathIterator
*
);
GpStatus
WINGDIPAPI
GdipPathIterCopyData
(
GpPathIterator
*
,
INT
*
,
GpPointF
*
,
BYTE
*
,
INT
,
INT
);
#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