Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 145 of file pathiterator.c.
Referenced by GdipPathIterNextMarkerPath().
{ INT i; TRACE("(%p, %p, %p, %p)\n", iterator, resultCount, startIndex, endIndex); if(!iterator || !startIndex || !endIndex) return InvalidParameter; *resultCount = 0; /* first call could start with second point as all subsequent, cause path couldn't contain only one */ for(i = iterator->marker_pos + 1; i < iterator->pathdata.Count; i++){ if((iterator->pathdata.Types[i] & PathPointTypePathMarker) || (i == iterator->pathdata.Count - 1)){ *startIndex = iterator->marker_pos; if(iterator->marker_pos > 0) (*startIndex)++; *endIndex = iterator->marker_pos = i; *resultCount= *endIndex - *startIndex + 1; break; } } return Ok; }