Home
last modified time | relevance | path

Searched refs:setRect (Results 1 – 25 of 84) sorted by relevance

1234

/external/skia/src/gpu/graphite/geom/
DShape.h42 explicit Shape(const Rect& rect) { this->setRect(rect); } in Shape()
43 explicit Shape(const SkRect& rect) { this->setRect(rect); } in Shape()
124 void setRect(const SkRect& rect) { this->setRect(Rect(rect)); } in setRect() function
125 void setRect(const Rect& rect) { in setRect() function
/external/skia/docs/examples/
DRegion_notequal1_operator.cpp13 one.setRect({1, 2, 3, 4}); in draw()
14 two.setRect({1, 2, 3, 3}); in draw()
DRegion_copy_const_SkIRect.cpp9 region2.setRect({1, 2, 3, 4}); in draw()
DRegion_setRect.cpp9 bool setEmpty = region.setRect({1, 2, 1, 4}); in draw()
DRegion_Iterator_done.cpp10 region.setRect({1, 2, 3, 4}); in draw()
DRRect_setRect.cpp10 rrect.setRect({60, 30, 120, 80}); in draw()
DRegion_Spanerator_const_SkRegion_int_int_int.cpp8 region.setRect({1, 2, 3, 4}); in draw()
DRegion_Cliperator_done.cpp13 region.setRect({1, 2, 3, 4}); in draw()
DRegion_isEmpty.cpp12 region.setRect({1, 2, 3, 4}); in draw()
DRegion_Cliperator_const_SkRegion_const_SkIRect.cpp8 region.setRect({1, 2, 3, 4}); in draw()
DRRect_empty_constructor.cpp12 rrect.setRect({10, 10, 100, 50}); in draw()
DRegion_isRect.cpp12 region.setRect({1, 2, 3, 4}); in draw()
DRegion_Iterator_copy_const_SkRegion.cpp8 region.setRect({1, 2, 3, 4}); in draw()
DRegion_computeRegionComplexity.cpp12 region.setRect({1, 2, 3, 4}); in draw()
DRegion_Iterator_Iterator.cpp9 region.setRect({1, 2, 3, 4}); in draw()
DRegion_isComplex.cpp12 region.setRect({1, 2, 3, 4}); in draw()
DRegion_getBoundaryPath.cpp8 region.setRect({10, 20, 90, 60}); in draw()
DRRect_MakeOval.cpp10 rrect.setRect(rrect.getBounds()); in draw()
/external/skia/gm/
Ddrrect.cpp47 outers[0].setRect(r); in onDraw()
56 inners[1].setRect(r); in onDraw()
/external/skia/src/core/
DSkRasterClip.cpp95 bool SkRasterClip::setRect(const SkIRect& rect) { in setRect() function in SkRasterClip
100 fIsRect = fBW.setRect(rect); in setRect()
308 fBWRgn.setRect(aaclip->getBounds()); in SkAAClipBlitterWrapper()
322 fBWRgn.setRect(aaclip.getBounds()); in init()
DSkClipStackDevice.cpp82 rgn->setRect(bounds.round()); in onAsRgnClip()
99 rgn->setRect(elem->getDeviceSpaceRect().round()); in onAsRgnClip()
DSkRasterClip.h58 bool setRect(const SkIRect&);
113 fBW.setRect(fAA.getBounds());
DSkRasterClipStack.h31 rec.fRC.setRect(fRootBounds); in setNewSize()
83 this->writable_rc().setRect(devRect); in replaceClip()
/external/skia/tests/
DAAClipTest.cpp244 clip.setRect(r); in test_empty()
277 clip0.setRect(r0); in test_irect()
278 clip1.setRect(r1); in test_irect()
279 rgn0.setRect(r0); in test_irect()
280 rgn1.setRect(r1); in test_irect()
438 clip.setRect(r); in test_huge()
DRegionTest.cpp113 openClip.setRect({-16000, -16000, 16000, 16000}); in test_empties()
300 bool nonEmpty = region.setRect({0, 0, 50, 50}); in DEF_TEST()
484 REPORTER_ASSERT(reporter, region.setRect({0, 0, 0x7FFFFFFE, 0x7FFFFFFE})); in DEF_TEST()
485 REPORTER_ASSERT(reporter, !region.setRect({0, 0, 0x7FFFFFFE, 0x7FFFFFFF})); in DEF_TEST()
486 REPORTER_ASSERT(reporter, !region.setRect({0, 0, 0x7FFFFFFF, 0x7FFFFFFE})); in DEF_TEST()
487 REPORTER_ASSERT(reporter, !region.setRect({0, 0, 0x7FFFFFFF, 0x7FFFFFFF})); in DEF_TEST()

1234