Home
last modified time | relevance | path

Searched refs:setRectXY (Results 1 – 25 of 71) sorted by relevance

123

/third_party/skia/gm/
Droundrects.cpp152 circleRRect.setRectXY(kRect, 5, 5); in onDraw()
196 ellipseRect.setRectXY(rect, 5, 10); in onDraw()
215 ellipseRect.setRectXY(rect, 20, 5); in onDraw()
235 circleRect.setRectXY(rect, 5, 5); in onDraw()
253 circleRect.setRectXY(rect, 5, 5); in onDraw()
309 circleRect.setRectXY(kRect, radii[i][0], radii[i][1]); in onDraw()
353 circleRect.setRectXY(smallRect, 5, 5); in onDraw()
Dcomplexclip2.cpp68 fRRects[0].setRectXY(fRects[0], 7, 7); in onOnceBeforeDraw()
73 fRRects[1].setRectXY(fRects[1], 7, 7); in onOnceBeforeDraw()
78 fRRects[2].setRectXY(fRects[2], 7, 7); in onOnceBeforeDraw()
83 fRRects[3].setRectXY(fRects[3], 7, 7); in onOnceBeforeDraw()
88 fRRects[4].setRectXY(fRects[4], 7, 7); in onOnceBeforeDraw()
Drrects.cpp174 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
175 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
177 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
178 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects()
179 fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); in setUpRRects()
Ddrrect.cpp49 outers[2].setRectXY(r, 20, 20); in onDraw()
58 inners[3].setRectXY(r, 20, 20); in onDraw()
Dshapes.cpp49 fShapes.push_back().setRectXY(SkRect::MakeXYWH(0, 75, 150, 100), 1e-5f, 1e-5f); in onOnceBeforeDraw()
52 fShapes.push_back().setRectXY(SkRect::MakeXYWH(15, -20, 100, 100), 20, 15); in onOnceBeforeDraw()
/third_party/flutter/skia/gm/
Droundrects.cpp152 circleRect.setRectXY(rect, 5, 5); in onDraw()
196 ellipseRect.setRectXY(rect, 5, 10); in onDraw()
215 ellipseRect.setRectXY(rect, 20, 5); in onDraw()
235 circleRect.setRectXY(rect, 5, 5); in onDraw()
253 circleRect.setRectXY(rect, 5, 5); in onDraw()
309 circleRect.setRectXY(rect, radii[i][0], radii[i][1]); in onDraw()
353 circleRect.setRectXY(smallRect, 5, 5); in onDraw()
Drrects.cpp169 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
170 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
172 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
173 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects()
174 fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); in setUpRRects()
Dcomplexclip2.cpp69 fRRects[0].setRectXY(fRects[0], 7, 7); in onOnceBeforeDraw()
74 fRRects[1].setRectXY(fRects[1], 7, 7); in onOnceBeforeDraw()
79 fRRects[2].setRectXY(fRects[2], 7, 7); in onOnceBeforeDraw()
84 fRRects[3].setRectXY(fRects[3], 7, 7); in onOnceBeforeDraw()
89 fRRects[4].setRectXY(fRects[4], 7, 7); in onOnceBeforeDraw()
Ddrrect.cpp49 outers[2].setRectXY(r, 20, 20); in onDraw()
58 inners[3].setRectXY(r, 20, 20); in onDraw()
Dshapes.cpp49 fShapes.push_back().setRectXY(SkRect::MakeXYWH(0, 75, 150, 100), 1e-5f, 1e-5f); in onOnceBeforeDraw()
52 fShapes.push_back().setRectXY(SkRect::MakeXYWH(15, -20, 100, 100), 20, 15); in onOnceBeforeDraw()
/third_party/skia/tests/
DRRectInPathTest.cpp201 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524()
229 rr.setRectXY(r, 20, 20); in test_inset()
304 rr3.setRectXY(rect, p.fX, p.fY); in test_round_rect_basic()
346 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
375 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
389 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
DRoundRectTest.cpp45 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524()
83 r.setRectXY(oooRects[i], 1, 2); in test_empty()
105 r.setRectXY(emptyRects[i], 1, 2); in test_empty()
141 rr.setRectXY(r, 20, 20); in test_inset()
234 rr3.setRectXY(rect, p.fX, p.fY); in test_round_rect_basic()
297 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
327 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
339 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
372 rr2.setRectXY(rect, -10, -20); in test_round_rect_iffy_parameters()
912 rrect.setRectXY(r, SkIntToScalar(4), SkIntToScalar(7)); in test_round_rect_transform()
/third_party/flutter/skia/tests/
DRRectInPathTest.cpp205 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524()
233 rr.setRectXY(r, 20, 20); in test_inset()
308 rr3.setRectXY(rect, p.fX, p.fY); in test_round_rect_basic()
350 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
379 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
393 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
DRoundRectTest.cpp42 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524()
80 r.setRectXY(oooRects[i], 1, 2); in test_empty()
102 r.setRectXY(emptyRects[i], 1, 2); in test_empty()
138 rr.setRectXY(r, 20, 20); in test_inset()
231 rr3.setRectXY(rect, p.fX, p.fY); in test_round_rect_basic()
294 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
324 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
336 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
369 rr2.setRectXY(rect, -10, -20); in test_round_rect_iffy_parameters()
909 rrect.setRectXY(r, SkIntToScalar(4), SkIntToScalar(7)); in test_round_rect_transform()
/third_party/skia/docs/examples/
DSKIA_LOGO_ANIMATE.cpp107 rrectClip.setRectXY({138, 291, 138 + pos*(341-138), 300}, 25.0, 5.0); in draw()
110 rrect.setRectXY({138, 291, 341, 300}, 25.0, 5.0); in draw()
DRRect_setRectXY.cpp10 rrect.setRectXY(rrect.getBounds(), 5, 5); in draw()
DRRect_isOval.cpp14 rrect.setRectXY(rrect.getBounds(), 35, 25);
DRRect_getSimpleRadii.cpp21 rrect.setRectXY(rrect.getBounds(), 5, 8);
DPath_addRRect_2.cpp10 rrect.setRectXY({40, 40, 215, 215}, 50, 50); in draw()
/third_party/skia/include/core/
DSkRRect.h178 rr.setRectXY(rect, xRad, yRad); in MakeRectXY()
203 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
/third_party/flutter/skia/include/core/
DSkRRect.h189 rr.setRectXY(rect, xRad, yRad); in MakeRectXY()
226 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
/third_party/flutter/skia/docs/examples/
DRRect_setRectXY.cpp10 rrect.setRectXY(rrect.getBounds(), 5, 5); in draw()
DRRect_isOval.cpp14 rrect.setRectXY(rrect.getBounds(), 35, 25);
DRRect_getSimpleRadii.cpp21 rrect.setRectXY(rrect.getBounds(), 5, 8);
DPath_addRRect_2.cpp10 rrect.setRectXY({40, 40, 215, 215}, 50, 50); in draw()

123