Home
last modified time | relevance | path

Searched refs:isRect (Results 1 – 25 of 46) sorted by relevance

12

/external/skia/src/core/
DSkRegion.cpp130 } else if (this->isRect()) { in computeRegionComplexity()
217 if (this->isRect()) { in count_runtype_values()
317 if (this->isRect()) { in contains()
375 if (this->isRect()) { in contains()
400 if (this->isRect()) { in contains()
403 if (rgn.isRect()) { in contains()
422 } else if (this->isRect()) { in getRuns()
460 if (this->isRect()) { in intersects()
487 bool weAreARect = this->isRect(); in intersects()
488 bool theyAreARect = rgn.isRect(); in intersects()
[all …]
DSkRasterClip.h35 bool isRect() const { in isRect() function
94 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect()
101 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
DSkRasterClip.cpp23 fIsRect = src.isRect(); in SkRasterClip()
201 if (this->isRect()) { in op()
DSkScan.cpp22 if (clip->isRect()) { in FillIRect()
DSkAAClip.h34 bool isRect() const;
DSkDraw.cpp319 SkASSERT(rec.fClip->isRect()); in bw_pt_rect_hair_proc()
334 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_16_hair_proc()
355 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_32_hair_proc()
516 if (SkCanvas::kPoints_PointMode == fMode && fClip->isRect()) { in chooseProc()
1511 return rClip->isBW() && !rClip->isRect(); in UsingRegionToDraw()
DSkScan_Antihair.cpp708 if (clip->isRect()) { in AntiFillXRect()
788 if (clip->isRect()) { in AntiFillRect()
DSkRegion_path.cpp497 if (this->isRect()) { in getBoundaryPath()
DSkMaskFilter.cpp214 return path.isRect(&rects[0]); in countNestedRects()
DSkAAClip.cpp727 bool SkAAClip::isRect() const { in isRect() function in SkAAClip
787 if (rgn.isRect()) { in setRegion()
915 if (this->isRect()) { in quickContains()
/external/skia/tests/
DPathOpsBuilderTest.cpp34 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()
DPathTest.cpp490 REPORTER_ASSERT(reporter, path.isRect(nullptr)); in test_addrect()
495 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
500 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
505 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
510 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
753 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect()
1793 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close()
1897 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect()
1906 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect()
1915 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect()
[all …]
DAAClipTest.cpp332 REPORTER_ASSERT(reporter, !clip.isRect()); in test_really_a_rect()
342 REPORTER_ASSERT(reporter, clip.isRect()); in test_really_a_rect()
DRoundRectTest.cpp114 REPORTER_ASSERT(reporter, rr2.isRect()); in test_inset()
117 REPORTER_ASSERT(reporter, rr2.isRect()); in test_inset()
126 REPORTER_ASSERT(reporter, rr2.isRect()); in test_inset()
DRegionTest.cpp284 REPORTER_ASSERT(r, region.isRect()); in DEF_TEST()
/external/skia/include/core/
DSkRegion.h76 bool isRect() const { return fRunHead == SkRegion_gRectRunHeadPtr; } in isRect() function
79 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex()
DSkRRect.h96 inline bool isRect() const { return kRect_Type == this->getType(); } in isRect() function
DSkClipStack.h91 SkASSERT(kRect_Type == fType && (fRRect.isRect() || fRRect.isEmpty())); in getRect()
DSkPath.h632 bool isRect(SkRect* rect, bool* isClosed = NULL, Direction* direction = NULL) const;
/external/skia/tools/lua/
Dscrape.lua68 "isRect", tostring(t.path:isRect()), tostr(t.path:getBounds()))
Dpaths.lua60 if path:isRect() then
/external/skia/tools/debugger/
DSkObjectParser.cpp157 if (path.isRect(nullptr)) { in PathToString()
279 } else if (rrect.isRect()) { in RRectToString()
/external/skia/gm/
Drrect.cpp104 if (rrect.isRect()) { in draw_rrect_color()
/external/skia/site/user/api/
Dskregion.md22 bool SkRegion::isRect();
/external/skia/src/effects/
DSkBlurMaskFilter.cpp869 if (path.isRect(&rect)) { in directFilterMaskGPU()
1130 SkASSERT(rrect.isSimpleCircular() || rrect.isRect()); in onSetData()

12