gdiplus: Added TRACE/FIXME to all PathIterator calls.
This commit is contained in:
parent
66f010e123
commit
532a50df2f
|
@ -35,6 +35,8 @@ GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator **iterator, GpPath* path)
|
|||
{
|
||||
INT size;
|
||||
|
||||
TRACE("(%p, %p)\n", iterator, path);
|
||||
|
||||
if(!iterator)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -66,6 +68,8 @@ GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator **iterator, GpPath* path)
|
|||
|
||||
GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator *iter)
|
||||
{
|
||||
TRACE("(%p)\n", iter);
|
||||
|
||||
if(!iter)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -79,6 +83,9 @@ GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator *iter)
|
|||
GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator* iterator,
|
||||
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)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -101,6 +108,8 @@ GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator* iterator, BOOL* hasCurv
|
|||
{
|
||||
INT i;
|
||||
|
||||
TRACE("(%p, %p)\n", iterator, hasCurve);
|
||||
|
||||
if(!iterator)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -119,6 +128,8 @@ GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator* iterator, INT* c
|
|||
{
|
||||
INT i;
|
||||
|
||||
TRACE("(%p, %p)\n", iterator, count);
|
||||
|
||||
if(!iterator || !count)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -136,6 +147,8 @@ GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator* iterator, INT *result
|
|||
{
|
||||
INT i;
|
||||
|
||||
TRACE("(%p, %p, %p, %p)\n", iterator, resultCount, startIndex, endIndex);
|
||||
|
||||
if(!iterator || !startIndex || !endIndex)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -162,6 +175,8 @@ GpStatus WINGDIPAPI GdipPathIterNextMarkerPath(GpPathIterator* iterator, INT* re
|
|||
{
|
||||
INT start, end;
|
||||
|
||||
TRACE("(%p, %p, %p)\n", iterator, result, path);
|
||||
|
||||
if(!iterator || !result)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -186,6 +201,9 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
|
|||
{
|
||||
INT i, count;
|
||||
|
||||
TRACE("(%p, %p, %p, %p, %p)\n", iterator, resultCount, startIndex,
|
||||
endIndex, isClosed);
|
||||
|
||||
if(!iterator || !startIndex || !endIndex || !isClosed || !resultCount)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -222,6 +240,8 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
|
|||
}
|
||||
GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator *iterator)
|
||||
{
|
||||
TRACE("(%p)\n", iterator);
|
||||
|
||||
if(!iterator)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -234,6 +254,8 @@ GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator *iterator)
|
|||
|
||||
GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator* iterator, INT* count)
|
||||
{
|
||||
TRACE("(%p, %p)\n", iterator, count);
|
||||
|
||||
if(!iterator || !count)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -245,6 +267,8 @@ GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator* iterator, INT* count)
|
|||
GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator* iterator, INT* resultCount,
|
||||
GpPointF *points, BYTE *types, INT count)
|
||||
{
|
||||
TRACE("(%p, %p, %p, %p, %d)\n", iterator, resultCount, points, types, count);
|
||||
|
||||
if((count < 0) || !resultCount)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -258,6 +282,8 @@ GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator* iterator, INT* resultC
|
|||
|
||||
GpStatus WINGDIPAPI GdipPathIterIsValid(GpPathIterator* iterator, BOOL* valid)
|
||||
{
|
||||
TRACE("(%p, %p)\n", iterator, valid);
|
||||
|
||||
if(!iterator || !valid)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -269,6 +295,8 @@ GpStatus WINGDIPAPI GdipPathIterIsValid(GpPathIterator* iterator, BOOL* valid)
|
|||
GpStatus WINGDIPAPI GdipPathIterNextPathType(GpPathIterator* iter, INT* result,
|
||||
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)
|
||||
return InvalidParameter;
|
||||
|
||||
|
@ -280,6 +308,8 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpathPath(GpPathIterator* iter, INT* resul
|
|||
{
|
||||
INT start, end;
|
||||
|
||||
TRACE("(%p, %p, %p, %p)\n", iter, result, path, closed);
|
||||
|
||||
if(!iter || !result || !closed)
|
||||
return InvalidParameter;
|
||||
|
||||
|
|
Loading…
Reference in New Issue