Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkRegion.cpp129 } else if (this->isRect()) { in computeRegionComplexity()
217 if (this->isRect()) { in count_runtype_values()
318 if (this->isRect()) { in contains()
376 if (this->isRect()) { in contains()
401 if (this->isRect()) { in contains()
404 if (rgn.isRect()) { in contains()
423 } else if (this->isRect()) { in getRuns()
461 if (this->isRect()) { in intersects()
488 bool weAreARect = this->isRect(); in intersects()
489 bool theyAreARect = rgn.isRect(); in intersects()
[all …]
DSkRasterClip.h33 bool isRect() const { return true; } in isRect() function
83 bool isRect() const { in isRect() function
146 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect()
153 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
DSkScan.cpp29 if (clip->isRect()) { in FillIRect()
DSkAAClip.h34 bool isRect() const;
DSkRasterClip.cpp138 fIsRect = src.isRect(); in SkRasterClip()
275 if (this->isRect()) { in op()
DSkDraw.cpp249 SkASSERT(rec.fClip->isRect()); in bw_pt_rect_hair_proc()
264 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_16_hair_proc()
285 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_32_hair_proc()
446 if (SkCanvas::kPoints_PointMode == fMode && fClip->isRect()) { in chooseProc()
1460 return rClip->isBW() && !rClip->isRect(); in UsingRegionToDraw()
DSkClipStack.h104 SkASSERT(kRect_Type == fType && (fRRect.isRect() || fRRect.isEmpty())); in getRect()
DSkScan_Hairline.cpp102 if (!clip->isRect() || !clipR.contains(ptsR)) { in HairLineRgn()
527 if (rclip.isRect()) { in hair_path()
DSkScan_Antihair.cpp707 if (clip->isRect()) { in AntiFillXRect()
785 if (clip->isRect()) { in AntiFillRect()
DSkMaskFilter.cpp212 return path.isRect(&rects[0]); in countNestedRects()
/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()
259 if (this->isRect() && kIntersect_Op == op) { in op()
DSkRRect.h99 inline bool isRect() const { return kRect_Type == this->getType(); } in isRect() function
/external/skia/src/effects/
DSkRRectsGaussianEdgeMaskFilter.cpp473 } else if (rr.isRect()) { in ComputeMode()
541 SkASSERT(fFirst.isRect() || fFirst.isCircle() || fFirst.isSimpleCircular()); in flatten()
547 SkASSERT(fSecond.isRect() || fSecond.isCircle() || fSecond.isSimpleCircular()); in flatten()
561 if ((!first.isRect() && !first.isCircle() && !first.isSimpleCircular()) || in Make()
562 (!second.isRect() && !second.isCircle() && !second.isSimpleCircular())) { in Make()
DSkBlurMaskFilter.cpp1038 if (path.isRect(&rect)) { in directFilterMaskGPU()
1166 SkASSERT(!devRRect.isCircle() && !devRRect.isRect()); // Should've been caught up-stream in Make()
1323 SkASSERT(rrect.isSimpleCircular() || rrect.isRect()); in onSetData()
1358 if (devRRect.isRect() || devRRect.isCircle()) { in directFilterRRectMaskGPU()
1360 if (devRRect.isRect()) { in directFilterRRectMaskGPU()
/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.cpp637 REPORTER_ASSERT(reporter, path.isRect(nullptr)); in test_addrect()
642 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
647 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
652 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
657 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
911 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect()
1967 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close()
2071 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect()
2080 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect()
2089 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect()
[all …]
DAAClipTest.cpp333 REPORTER_ASSERT(reporter, !clip.isRect()); in test_really_a_rect()
343 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.cpp290 REPORTER_ASSERT(r, region.isRect()); in DEF_TEST()
/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.cpp158 if (path.isRect(nullptr)) { in PathToString()
280 } else if (rrect.isRect()) { in RRectToString()
/external/skia/gm/
Drrect.cpp105 if (rrect.isRect()) { in draw_rrect_color()
/external/skia/src/gpu/
DGrShape.cpp392 if (this->path().isRect(&rect, &closed, nullptr)) { in attemptToSimplifyPath()
460 fRRectData.fRRect.isRect()) { in attemptToSimplifyRRect()
/external/skia/site/user/api/
Dskregion.md22 bool SkRegion::isRect();

12