/third_party/flutter/skia/src/core/ |
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 | 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()) {
|
/third_party/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 | 45 bool isRect() const { in isRect() function 105 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect() 112 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
|
D | SkDevice.cpp | 536 aa, /*fillsBounds=*/rrect.isRect()); in onClipRRect() 550 /*isAA=*/false, /*fillsBounds=*/globalRgn.isRect()); in onClipRegion() 581 const bool isRect = fillsBounds && SkMatrixPriv::IsScaleTranslateAsM33(transform); in op() local 591 fIsRect &= isRect; in op() 592 } else if (isRect) { in op()
|
/third_party/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()
|
/third_party/flutter/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/flutter/skia/include/core/ |
D | SkRegion.h | 131 bool isRect() const { return fRunHead == kRectRunHeadPtr; } in isRect() function 137 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex() 371 if (this->isRect() && kIntersect_Op == op) { in op()
|
/third_party/skia/tests/ |
D | AAClipTest.cpp | 115 } else if (a.isEmpty() != b.isEmpty() || a.isBW() != b.isBW() || a.isRect() != b.isRect()) { in operator ==() 347 REPORTER_ASSERT(reporter, !clip.isRect()); in test_really_a_rect() 357 REPORTER_ASSERT(reporter, clip.isRect()); in test_really_a_rect()
|
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 …]
|
/third_party/skia/src/gpu/v1/ |
D | ClipStack.cpp | 217 if (e.fShape.isRect()) { in analytic_clip_fp() 543 if (forceAA && !(fShape.isRect() && fLocalToDevice.preservesAxisAlignment())) { in simplify() 552 if (fShape.isRect()) { in simplify() 609 if (fShape.isRect() && other.fShape.isRect()) { in combine() 635 } else if ((fShape.isRect() || fShape.isRRect()) && in combine() 636 (other.fShape.isRect() || other.fShape.isRRect())) { in combine() 640 SkRRect a = fShape.isRect() ? SkRRect::MakeRect(fShape.rect()) : fShape.rrect(); in combine() 641 SkRRect b = other.fShape.isRect() ? SkRRect::MakeRect(other.fShape.rect()) in combine() 647 if (joined.isRect()) { in combine()
|
/third_party/flutter/engine/flutter/flow/layers/ |
D | physical_shape_layer.cc | 31 if (path.isRect(&rect)) { in PhysicalShapeLayer() 35 isRect_ = frameRRect_.isRect(); in PhysicalShapeLayer()
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Shape.h | 60 bool isRect() const { return fType == Type::kRect; } in isRect() function 107 const Rect& rect() const { SkASSERT(this->isRect()); return fRect; } in rect()
|
/third_party/skia/src/gpu/ops/ |
D | FillRRectOp.cpp | 218 if ((shape.isRect() || shape.isRRect()) && in clipToShape() 224 if (shape.isRect()) { in clipToShape() 250 if (shape.isRect()) { in clipToShape() 263 if (fHeadInstance->fRRect.isRect() && clipRRect.isRect()) { in clipToShape()
|
/third_party/flutter/skia/tests/ |
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() 2036 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close() 2140 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect() 2150 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect() 2161 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect() [all …]
|
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()
|