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
532a50df
Commit
532a50df
authored
Aug 27, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added TRACE/FIXME to all PathIterator calls.
parent
66f010e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
pathiterator.c
dlls/gdiplus/pathiterator.c
+30
-0
No files found.
dlls/gdiplus/pathiterator.c
View file @
532a50df
...
@@ -35,6 +35,8 @@ GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator **iterator, GpPath* path)
...
@@ -35,6 +35,8 @@ GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator **iterator, GpPath* path)
{
{
INT
size
;
INT
size
;
TRACE
(
"(%p, %p)
\n
"
,
iterator
,
path
);
if
(
!
iterator
)
if
(
!
iterator
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -66,6 +68,8 @@ GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator **iterator, GpPath* path)
...
@@ -66,6 +68,8 @@ GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator **iterator, GpPath* path)
GpStatus
WINGDIPAPI
GdipDeletePathIter
(
GpPathIterator
*
iter
)
GpStatus
WINGDIPAPI
GdipDeletePathIter
(
GpPathIterator
*
iter
)
{
{
TRACE
(
"(%p)
\n
"
,
iter
);
if
(
!
iter
)
if
(
!
iter
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -79,6 +83,9 @@ GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator *iter)
...
@@ -79,6 +83,9 @@ GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator *iter)
GpStatus
WINGDIPAPI
GdipPathIterCopyData
(
GpPathIterator
*
iterator
,
GpStatus
WINGDIPAPI
GdipPathIterCopyData
(
GpPathIterator
*
iterator
,
INT
*
resultCount
,
GpPointF
*
points
,
BYTE
*
types
,
INT
startIndex
,
INT
endIndex
)
INT
*
resultCount
,
GpPointF
*
points
,
BYTE
*
types
,
INT
startIndex
,
INT
endIndex
)
{
{
TRACE
(
"(%p, %p, %p, %p, %d, %d)
\n
"
,
iterator
,
resultCount
,
points
,
types
,
startIndex
,
endIndex
);
if
(
!
iterator
||
!
types
||
!
points
)
if
(
!
iterator
||
!
types
||
!
points
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -101,6 +108,8 @@ GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator* iterator, BOOL* hasCurv
...
@@ -101,6 +108,8 @@ GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator* iterator, BOOL* hasCurv
{
{
INT
i
;
INT
i
;
TRACE
(
"(%p, %p)
\n
"
,
iterator
,
hasCurve
);
if
(
!
iterator
)
if
(
!
iterator
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -119,6 +128,8 @@ GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator* iterator, INT* c
...
@@ -119,6 +128,8 @@ GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator* iterator, INT* c
{
{
INT
i
;
INT
i
;
TRACE
(
"(%p, %p)
\n
"
,
iterator
,
count
);
if
(
!
iterator
||
!
count
)
if
(
!
iterator
||
!
count
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -136,6 +147,8 @@ GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator* iterator, INT *result
...
@@ -136,6 +147,8 @@ GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator* iterator, INT *result
{
{
INT
i
;
INT
i
;
TRACE
(
"(%p, %p, %p, %p)
\n
"
,
iterator
,
resultCount
,
startIndex
,
endIndex
);
if
(
!
iterator
||
!
startIndex
||
!
endIndex
)
if
(
!
iterator
||
!
startIndex
||
!
endIndex
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -162,6 +175,8 @@ GpStatus WINGDIPAPI GdipPathIterNextMarkerPath(GpPathIterator* iterator, INT* re
...
@@ -162,6 +175,8 @@ GpStatus WINGDIPAPI GdipPathIterNextMarkerPath(GpPathIterator* iterator, INT* re
{
{
INT
start
,
end
;
INT
start
,
end
;
TRACE
(
"(%p, %p, %p)
\n
"
,
iterator
,
result
,
path
);
if
(
!
iterator
||
!
result
)
if
(
!
iterator
||
!
result
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -186,6 +201,9 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
...
@@ -186,6 +201,9 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
{
{
INT
i
,
count
;
INT
i
,
count
;
TRACE
(
"(%p, %p, %p, %p, %p)
\n
"
,
iterator
,
resultCount
,
startIndex
,
endIndex
,
isClosed
);
if
(
!
iterator
||
!
startIndex
||
!
endIndex
||
!
isClosed
||
!
resultCount
)
if
(
!
iterator
||
!
startIndex
||
!
endIndex
||
!
isClosed
||
!
resultCount
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -222,6 +240,8 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
...
@@ -222,6 +240,8 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
}
}
GpStatus
WINGDIPAPI
GdipPathIterRewind
(
GpPathIterator
*
iterator
)
GpStatus
WINGDIPAPI
GdipPathIterRewind
(
GpPathIterator
*
iterator
)
{
{
TRACE
(
"(%p)
\n
"
,
iterator
);
if
(
!
iterator
)
if
(
!
iterator
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -234,6 +254,8 @@ GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator *iterator)
...
@@ -234,6 +254,8 @@ GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator *iterator)
GpStatus
WINGDIPAPI
GdipPathIterGetCount
(
GpPathIterator
*
iterator
,
INT
*
count
)
GpStatus
WINGDIPAPI
GdipPathIterGetCount
(
GpPathIterator
*
iterator
,
INT
*
count
)
{
{
TRACE
(
"(%p, %p)
\n
"
,
iterator
,
count
);
if
(
!
iterator
||
!
count
)
if
(
!
iterator
||
!
count
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -245,6 +267,8 @@ GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator* iterator, INT* count)
...
@@ -245,6 +267,8 @@ GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator* iterator, INT* count)
GpStatus
WINGDIPAPI
GdipPathIterEnumerate
(
GpPathIterator
*
iterator
,
INT
*
resultCount
,
GpStatus
WINGDIPAPI
GdipPathIterEnumerate
(
GpPathIterator
*
iterator
,
INT
*
resultCount
,
GpPointF
*
points
,
BYTE
*
types
,
INT
count
)
GpPointF
*
points
,
BYTE
*
types
,
INT
count
)
{
{
TRACE
(
"(%p, %p, %p, %p, %d)
\n
"
,
iterator
,
resultCount
,
points
,
types
,
count
);
if
((
count
<
0
)
||
!
resultCount
)
if
((
count
<
0
)
||
!
resultCount
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -258,6 +282,8 @@ GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator* iterator, INT* resultC
...
@@ -258,6 +282,8 @@ GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator* iterator, INT* resultC
GpStatus
WINGDIPAPI
GdipPathIterIsValid
(
GpPathIterator
*
iterator
,
BOOL
*
valid
)
GpStatus
WINGDIPAPI
GdipPathIterIsValid
(
GpPathIterator
*
iterator
,
BOOL
*
valid
)
{
{
TRACE
(
"(%p, %p)
\n
"
,
iterator
,
valid
);
if
(
!
iterator
||
!
valid
)
if
(
!
iterator
||
!
valid
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -269,6 +295,8 @@ GpStatus WINGDIPAPI GdipPathIterIsValid(GpPathIterator* iterator, BOOL* valid)
...
@@ -269,6 +295,8 @@ GpStatus WINGDIPAPI GdipPathIterIsValid(GpPathIterator* iterator, BOOL* valid)
GpStatus
WINGDIPAPI
GdipPathIterNextPathType
(
GpPathIterator
*
iter
,
INT
*
result
,
GpStatus
WINGDIPAPI
GdipPathIterNextPathType
(
GpPathIterator
*
iter
,
INT
*
result
,
BYTE
*
type
,
INT
*
start
,
INT
*
end
)
BYTE
*
type
,
INT
*
start
,
INT
*
end
)
{
{
FIXME
(
"(%p, %p, %p, %p, %p) stub
\n
"
,
iter
,
result
,
type
,
start
,
end
);
if
(
!
iter
||
!
result
||
!
type
||
!
start
||
!
end
)
if
(
!
iter
||
!
result
||
!
type
||
!
start
||
!
end
)
return
InvalidParameter
;
return
InvalidParameter
;
...
@@ -280,6 +308,8 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpathPath(GpPathIterator* iter, INT* resul
...
@@ -280,6 +308,8 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpathPath(GpPathIterator* iter, INT* resul
{
{
INT
start
,
end
;
INT
start
,
end
;
TRACE
(
"(%p, %p, %p, %p)
\n
"
,
iter
,
result
,
path
,
closed
);
if
(
!
iter
||
!
result
||
!
closed
)
if
(
!
iter
||
!
result
||
!
closed
)
return
InvalidParameter
;
return
InvalidParameter
;
...
...
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