/external/skqp/src/core/ |
D | SkRasterClip.h | 34 bool isRect() const { return true; } in isRect() function 84 bool isRect() const { in isRect() function 147 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect() 154 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
|
D | SkRegion.cpp | 172 } else if (this->isRect()) { in computeRegionComplexity() 257 if (this->isRect()) { in count_runtype_values() 363 if (this->isRect()) { in contains() 421 if (this->isRect()) { in contains() 446 if (this->isRect()) { in contains() 449 if (rgn.isRect()) { in contains() 468 } else if (this->isRect()) { in getRuns() 506 if (this->isRect()) { in intersects() 533 bool weAreARect = this->isRect(); in intersects() 534 bool theyAreARect = rgn.isRect(); in intersects() [all …]
|
D | SkRRectPriv.h | 32 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
|
/external/skia/src/core/ |
D | SkRegion.cpp | 171 } else if (this->isRect()) { in computeRegionComplexity() 256 if (this->isRect()) { in count_runtype_values() 362 if (this->isRect()) { in contains() 420 if (this->isRect()) { in contains() 445 if (this->isRect()) { in contains() 448 if (rgn.isRect()) { in contains() 467 } else if (this->isRect()) { in getRuns() 505 if (this->isRect()) { in intersects() 532 bool weAreARect = this->isRect(); in intersects() 533 bool theyAreARect = rgn.isRect(); in intersects() [all …]
|
D | SkRasterClip.h | 44 bool isRect() const { return fIsRect; } in isRect() function 103 bool isRect() const { in isRect() function 171 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect() 178 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
|
D | SkRasterClip.cpp | 87 (rrect.isRect() && ctm.isScaleTranslate()) ? IsRect::kYes : IsRect:: kNo); in opRRect() 112 this->applyOpParams(op, ClipAA::kNo, rgn.isRect() ? IsRect::kYes : IsRect::kNo); in opRegion() 162 fIsRect = that.isRect(); in operator =() 298 if (this->isRect()) { in op()
|
D | SkRRectPriv.h | 36 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
|
/external/skia/docs/examples/ |
D | RRect_isRect.cpp | 13 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint); 18 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
|
D | Region_isRect.cpp | 8 SkDebugf("%s: region is %s" "rect\n", label, region.isRect() ? "" : "not "); in draw()
|
D | Path_addRoundRect.cpp | 13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in draw()
|
D | Path_isRect.cpp | 11 path.isRect(&rect, &isClosed, &direction) ? in draw()
|
/external/skia/src/gpu/geometry/ |
D | GrShape.h | 85 bool isRect() const { return this->type() == Type::kRect; } in isRect() function 112 SkASSERT((this->isRect() && start < 4) || (this->isRRect() && start < 8) || in setPathWindingParams() 133 SkRect& rect() { SkASSERT(this->isRect()); return fRect; } in rect() 134 const SkRect& rect() const { SkASSERT(this->isRect()); return fRect; } in rect()
|
D | GrStyledShape.h | 147 bool isRect() const { in isRect() function 149 SkASSERT(!fShape.isRRect() || !fShape.rrect().isRect()); in isRect() 150 return fShape.isRect(); in isRect()
|
D | GrShape.cpp | 87 if (fPath.isRect(&rect, &closed) && (closed || (flags & kSimpleFill_Flag))) { in simplifyPath() 153 if (rrect.isEmpty() || rrect.isRect()) { in simplifyRRect() 188 if (!this->isRect()) { in simplifyRect() 395 if (fRRect.isEmpty() || fRRect.isRect()) { in segmentMask()
|
/external/skia/include/core/ |
D | SkRegion.h | 145 bool isRect() const { return fRunHead == kRectRunHeadPtr; } in isRect() function 151 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex() 378 if (this->isRect() && kIntersect_Op == op) { in op()
|
/external/skqp/include/core/ |
D | SkRegion.h | 141 bool isRect() const { return fRunHead == kRectRunHeadPtr; } in isRect() function 147 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex() 381 if (this->isRect() && kIntersect_Op == op) { in op()
|
/external/skqp/src/utils/ |
D | SkDashPath.cpp | 186 bool isRect = !isLine && srcPath.isRect(nullptr); in cull_path() local 187 if (!isLine && !isRect) { in cull_path() 192 if (isRect) { in cull_path() 317 if (src.isRect(nullptr) && src.isLastContourClosed() && is_even(initialDashIndex)) { in InternalFilter()
|
/external/skia/src/gpu/ |
D | GrClipStack.cpp | 216 if (e.fShape.isRect()) { in analytic_clip_fp() 551 if (forceAA && !(fShape.isRect() && fLocalToDevice.preservesAxisAlignment())) { in simplify() 560 if (fShape.isRect()) { in simplify() 617 if (fShape.isRect() && other.fShape.isRect()) { in combine() 643 } else if ((fShape.isRect() || fShape.isRRect()) && in combine() 644 (other.fShape.isRect() || other.fShape.isRRect())) { in combine() 648 SkRRect a = fShape.isRect() ? SkRRect::MakeRect(fShape.rect()) : fShape.rrect(); in combine() 649 SkRRect b = other.fShape.isRect() ? SkRRect::MakeRect(other.fShape.rect()) in combine() 655 if (joined.isRect()) { in combine()
|
/external/skia/tests/ |
D | PathOpsBuilderTest.cpp | 34 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST() 45 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST() 61 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
|
D | PathTest.cpp | 616 REPORTER_ASSERT(reporter, path.isRect(nullptr)); in test_addrect() 621 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 626 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 631 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 636 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 881 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect() 2024 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close() 2128 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect() 2138 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect() 2149 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect() [all …]
|
/external/skqp/tests/ |
D | PathOpsBuilderTest.cpp | 34 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST() 45 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST() 61 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
|
D | PathTest.cpp | 616 REPORTER_ASSERT(reporter, path.isRect(nullptr)); in test_addrect() 621 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 626 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 631 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 636 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect() 881 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect() 2042 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close() 2146 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect() 2156 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect() 2167 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect() [all …]
|
/external/skqp/tools/lua/ |
D | scrape.lua | 68 "isRect", tostring(t.path:isRect()), tostr(t.path:getBounds()))
|
D | paths.lua | 60 if path:isRect() then
|
/external/skia/modules/sksg/src/ |
D | SkSGRect.cpp | 55 if (fRRect.isRect()) { in onContains()
|