Home
last modified time | relevance | path

Searched refs:isRect (Results 1 – 25 of 37) 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.h33 bool isRect() const { in isRect() function
91 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect()
98 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
DSkRasterClip.cpp23 fIsRect = src.isRect(); in SkRasterClip()
188 if (this->isRect()) { in op()
DSkScan.cpp22 if (clip->isRect()) { in FillIRect()
DSkAAClip.h34 bool isRect() const;
DSkDraw.cpp316 SkASSERT(rec.fClip->isRect()); in bw_pt_rect_hair_proc()
331 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_16_hair_proc()
352 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_32_hair_proc()
509 if (SkCanvas::kPoints_PointMode == fMode && fClip->isRect()) { in chooseProc()
1456 (state.fClip && NULL == state.fAAClip && state.fClip->isRect())); in D1G_RectClip()
1496 SkASSERT(!state.fClip->isRect()); in D1G_RgnClip()
1558 if (fClip->isRect()) { in init()
DSkScan_Antihair.cpp708 if (clip->isRect()) { in AntiFillXRect()
788 if (clip->isRect()) { in AntiFillRect()
DSkMaskFilter.cpp214 return path.isRect(&rects[0]); in countNestedRects()
DSkRegion_path.cpp496 if (this->isRect()) { in getBoundaryPath()
DSkCanvas.cpp1413 if (rrect.isRect()) { in clipRRect()
1450 if (!path.isInverseFillType() && path.isRect(&r)) { in clipPath()
1579 return fMCRec->fRasterClip.isRect(); in isClipRect()
1893 if (rrect.isRect()) { in onDrawRRect()
DSkAAClip.cpp727 bool SkAAClip::isRect() const { in isRect() function in SkAAClip
787 if (rgn.isRect()) { in setRegion()
915 if (this->isRect()) { in quickContains()
DSkScan_Hairline.cpp101 if (!clip->isRect() || !clipR.contains(ptsR)) { in HairLineRgn()
/external/skia/tests/
DPathOpsBuilderTest.cpp34 REPORTER_ASSERT(reporter, result.isRect(NULL, &closed, &dir)); in DEF_TEST()
44 REPORTER_ASSERT(reporter, result.isRect(NULL, &closed, &dir)); in DEF_TEST()
60 REPORTER_ASSERT(reporter, result.isRect(NULL, &closed, &dir)); in DEF_TEST()
DPathTest.cpp426 REPORTER_ASSERT(reporter, path.isRect(NULL)); in test_addrect()
431 REPORTER_ASSERT(reporter, !path.isRect(NULL)); in test_addrect()
436 REPORTER_ASSERT(reporter, !path.isRect(NULL)); in test_addrect()
441 REPORTER_ASSERT(reporter, !path.isRect(NULL)); in test_addrect()
446 REPORTER_ASSERT(reporter, !path.isRect(NULL)); in test_addrect()
652 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect()
1675 REPORTER_ASSERT(reporter, path.isRect(NULL, &isClosed, NULL)); in test_isRect_open_close()
1779 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(NULL)); in test_isRect()
1787 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect()
1796 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect()
[all …]
DAAClipTest.cpp331 REPORTER_ASSERT(reporter, !clip.isRect()); in test_really_a_rect()
341 REPORTER_ASSERT(reporter, clip.isRect()); in test_really_a_rect()
DRoundRectTest.cpp59 REPORTER_ASSERT(reporter, rr2.isRect()); in test_inset()
62 REPORTER_ASSERT(reporter, rr2.isRect()); in test_inset()
71 REPORTER_ASSERT(reporter, rr2.isRect()); in test_inset()
/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.h92 SkASSERT(kRect_Type == fType && (fRRect.isRect() || fRRect.isEmpty())); in getRect()
DSkPath.h582 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/src/utils/debugger/
DSkObjectParser.cpp129 if (path.isRect(NULL)) { in PathToString()
238 } else if (rrect.isRect()) { in RRectToString()
/external/skia/gm/
Drrect.cpp104 if (rrect.isRect()) { in draw_rrect_color()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp847 if (!path.isRect(&rect)) { in directFilterMaskGPU()
1112 SkASSERT(rrect.isSimpleCircular() || rrect.isRect()); in setData()

12