Home
last modified time | relevance | path

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

1234

/third_party/skia/experimental/graphite/src/geom/
DShape.h41 explicit Shape(const Rect& rect) { this->setRect(rect); } in Shape()
42 explicit Shape(const SkRect& rect) { this->setRect(rect); } in Shape()
127 void setRect(const SkRect& rect) { this->setRect(Rect(rect)); } in setRect() function
128 void setRect(const Rect& rect) { in setRect() function
/third_party/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()
DRegion_Spanerator_const_SkRegion_int_int_int.cpp8 region.setRect({1, 2, 3, 4}); in draw()
DRRect_setRect.cpp10 rrect.setRect({60, 30, 120, 80}); in draw()
DRegion_Iterator_copy_const_SkRegion.cpp8 region.setRect({1, 2, 3, 4}); in draw()
DRegion_isEmpty.cpp12 region.setRect({1, 2, 3, 4}); in draw()
DRegion_Cliperator_done.cpp13 region.setRect({1, 2, 3, 4}); in draw()
DRegion_isRect.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_Iterator_Iterator.cpp9 region.setRect({1, 2, 3, 4}); in draw()
DRegion_computeRegionComplexity.cpp12 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()
/third_party/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()
DSkRasterClipStack.h31 rec.fRC.setRect(fRootBounds); in setNewSize()
83 this->writable_rc().setRect(devRect); in replaceClip()
DSkRasterClip.h58 bool setRect(const SkIRect&);
113 fBW.setRect(fAA.getBounds());
/third_party/skia/tests/
DAAClipTest.cpp237 clip.setRect(r); in test_empty()
270 clip0.setRect(r0); in test_irect()
271 clip1.setRect(r1); in test_irect()
272 rgn0.setRect(r0); in test_irect()
273 rgn1.setRect(r1); in test_irect()
431 clip.setRect(r); in test_huge()
DRegionTest.cpp101 openClip.setRect({-16000, -16000, 16000, 16000}); in test_empties()
288 bool nonEmpty = region.setRect({0, 0, 50, 50}); in DEF_TEST()
472 REPORTER_ASSERT(reporter, region.setRect({0, 0, 0x7FFFFFFE, 0x7FFFFFFE})); in DEF_TEST()
473 REPORTER_ASSERT(reporter, !region.setRect({0, 0, 0x7FFFFFFE, 0x7FFFFFFF})); in DEF_TEST()
474 REPORTER_ASSERT(reporter, !region.setRect({0, 0, 0x7FFFFFFF, 0x7FFFFFFE})); in DEF_TEST()
475 REPORTER_ASSERT(reporter, !region.setRect({0, 0, 0x7FFFFFFF, 0x7FFFFFFF})); in DEF_TEST()
/third_party/skia/gm/
Ddrrect.cpp47 outers[0].setRect(r); in onDraw()
56 inners[1].setRect(r); in onDraw()
/third_party/skia/include/core/
DSkRRect.h122 void setRect(const SkRect& rect) { in setRect() function
147 rr.setRect(r); in MakeRect()

1234