Home
last modified time | relevance | path

Searched refs:currVerb (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkPath.cpp451 int currVerb = 0; in isRect()
453 return SkPathPriv::IsRectContour(*this, false, &currVerb, &pts, isClosed, direction, rect); in isRect()
3435 bool SkPathPriv::IsRectContour(const SkPath& path, bool allowPartial, int* currVerb, in IsRectContour() argument
3453 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in IsRectContour()
3454 … uint8_t verb = insertClose ? (uint8_t) SkPath::kClose_Verb : path.fPathRef->atVerb(*currVerb); in IsRectContour()
3528 *currVerb -= 1; // try move again afterwards in IsRectContour()
3546 *currVerb += 1; in IsRectContour()
3578 int currVerb = 0; in IsNestedFillRects()
3582 if (!IsRectContour(path, true, &currVerb, &pts, nullptr, &testDirs[0], &testRects[0])) { in IsNestedFillRects()
3585 if (IsRectContour(path, false, &currVerb, &pts, nullptr, &testDirs[1], &testRects[1])) { in IsNestedFillRects()
DSkPathPriv.h336 static bool IsRectContour(const SkPath&, bool allowPartial, int* currVerb,
/external/skqp/src/core/
DSkPath.cpp474 bool SkPath::isRectContour(bool allowPartial, int* currVerb, const SkPoint** ptsPtr, in isRectContour() argument
491 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in isRectContour()
492 uint8_t verb = insertClose ? (uint8_t) kClose_Verb : fPathRef->atVerb(*currVerb); in isRectContour()
565 *currVerb -= 1; // try move again afterwards in isRectContour()
583 *currVerb += 1; in isRectContour()
613 int currVerb = 0; in isRect()
615 return this->isRectContour(false, &currVerb, &pts, isClosed, direction, rect); in isRect()
620 int currVerb = 0; in isNestedFillRects()
624 if (!isRectContour(true, &currVerb, &pts, nullptr, &testDirs[0], &testRects[0])) { in isNestedFillRects()
627 if (isRectContour(false, &currVerb, &pts, nullptr, &testDirs[1], &testRects[1])) { in isNestedFillRects()
/external/skqp/include/core/
DSkPath.h1736 bool isRectContour(bool allowPartial, int* currVerb, const SkPoint** pts,