/third_party/skia/src/core/ |
H A 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() 1161 bool isRect = this->isRect(); writeToMemory() local [all...] |
H A D | SkRasterClip.h | 45 bool isRect() const { in isRect() function in SkRasterClip 105 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect() 112 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) { in updateCacheAndReturnNonEmpty()
|
H A 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()
|
H A D | SkRRectPriv.h | 36 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
|
H A D | SkRasterClip.cpp | 40 fIsRect = that.isRect(); in operator =() 185 if (this->isRect() && op == SkClipOp::kIntersect) { in op()
|
H A D | SkScanPriv.h | 86 if (!path.isRect(&rect)) { in TryBlitFatAntiRect()
|
H A D | SkScan.cpp | 24 if (clip->isRect()) { in FillIRect()
|
H A D | SkAAClip.h | 32 bool isRect() const;
|
H A D | SkDraw_text.cpp | 54 bool useRegion = fRC->isBW() && !fRC->isRect(); in paintMasks()
|
/third_party/skia/docs/examples/ |
H A D | RRect_isRect.cpp | 13 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint); in REG_FIDDLE() 18 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint); in REG_FIDDLE()
|
H A D | Region_isRect.cpp | 8 SkDebugf("%s: region is %s" "rect\n", label, region.isRect() ? "" : "not "); in REG_FIDDLE()
|
H A D | Path_addRoundRect.cpp | 13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in REG_FIDDLE()
|
H A D | Path_isRect.cpp | 11 path.isRect(&rect, &isClosed, &direction) ? in REG_FIDDLE()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrShape.h | 81 // any potential simplification (e.g. if isRRect() is true and rrect().isRect() is true, 82 // isRect() will still be false, until simplify() is called). 85 bool isRect() const { return this->type() == Type::kRect; } in isRect() function in GrShape 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() 149 // performs no simplification, so calling setRRect() with a round rect that has isRect() return
|
H A D | GrStyledShape.h | 147 bool isRect() const { in isRect() function in GrStyledShape 149 SkASSERT(!fShape.isRRect() || !fShape.rrect().isRect()); in isRect() 150 return fShape.isRect(); in isRect()
|
H A D | GrShape.cpp | 81 // isRect(). in simplifyPath() 85 // Attempt isRect() since we don't have to preserve any winding info in simplifyPath() 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()
|
H A D | GrStyledShape.cpp | 188 SkASSERT((fShape.isRect() || fShape.isRRect()) || in writeUnstyledKey() 427 if (!fShape.isRRect() && !fShape.isRect()) { in asRRect() 438 if (fShape.isRect()) { in asRRect() 635 if (!fStyle.hasPathEffect() && fShape.isRect() && in simplifyStroke()
|
/third_party/skia/include/core/ |
H A D | SkRegion.h | 145 bool isRect() const { return fRunHead == kRectRunHeadPtr; } in isRect() function in SkRegion 151 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex() 307 fRunHead == kRectRunHeadPtr && // this->isRect() in quickContains() 378 if (this->isRect() && kIntersect_Op == op) { in op()
|
/third_party/skia/experimental/graphite/src/geom/ |
H A D | Shape.h | 60 bool isRect() const { return fType == Type::kRect; } in isRect() function in skgpu::Shape 107 const Rect& rect() const { SkASSERT(this->isRect()); return fRect; } in rect() 112 // performs no simplification, so calling setRRect() with a round rect that has isRect() return
|
/third_party/skia/tests/ |
H A 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()
|
H A 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() 2028 // Simple isRect test is inline TestPath, below. 2128 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect() 2138 REPORTER_ASSERT(reporter, path.isRect( in test_isRect() [all...] |
H A 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()
|
/third_party/skia/src/gpu/ops/ |
H A 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/skia/src/gpu/v1/ |
H A 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() [all...] |
/third_party/skia/modules/sksg/src/ |
H A D | SkSGRect.cpp | 55 if (fRRect.isRect()) { in onContains()
|