Home
last modified time | relevance | path

Searched refs:addRRect (Results 1 – 25 of 90) sorted by relevance

1234

/external/skia/docs/examples/
DRRect_setRectRadii.cpp18 path.addRRect(rrect, SkPathDirection::kCW); in draw()
21 path.addRRect(rrect, SkPathDirection::kCCW, 1); in draw()
DPath_addRRect_2.cpp12 path.addRRect(rrect); in draw()
16 textPath.addRRect(rrect, SkPathDirection::kCW, start); in draw()
DPath_isRRect.cpp9 path.addRRect(SkRRect::MakeRectXY({20, 20, 220, 220}, 30, 50)); in draw()
DPath_addRRect.cpp16 path.addRRect(rrect); in draw()
/external/skia/tests/
DPathBuilderTest.cpp210 b.addRRect(rr, dir, i); in DEF_TEST()
214 p.addRRect(rr, dir, i); in DEF_TEST()
217 auto bp = SkPathBuilder().addRRect(rr, dir).detach(); in DEF_TEST()
219 p.addRRect(rr, dir); in DEF_TEST()
224 bp = SkPathBuilder().addRRect(rr, dir).lineTo(10, 10).detach(); in DEF_TEST()
226 bp = SkPathBuilder().lineTo(10, 10).addRRect(rr, dir).detach(); in DEF_TEST()
DRRectInPathTest.cpp19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect()
37 recreatedPath.addRRect(xrr, xd, xs); in path_contains_rrect()
54 path.addRRect(in, dir, start); in inner_path_contains_rrect()
/external/skqp/gm/
Dpathcontourstart.cpp68 path.addRRect(rrect, dir, startIndex); in onDraw()
77 path.addRRect(rrect, dir, startIndex); in onDraw()
86 path.addRRect(rrect, dir, startIndex); in onDraw()
Dnested.cpp56 path->addRRect(rr, dir); in AddShape()
/external/skia/samplecode/
DSampleMaterialShadows.cpp33 fCapsulePath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-64, -24, 128, 48), 24, 24)); in onOnceBeforeDraw()
34 fLargeRRPath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-64, -64, 128, 128), 4, 4)); in onOnceBeforeDraw()
35 fSmallRRPath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-40, -40, 80, 80), 4, 4)); in onOnceBeforeDraw()
DSampleAndroidShadows.cpp52 fRRPath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-100, -50, 200, 100), 4, 4)); in onOnceBeforeDraw()
71 fSquareRRectPath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-50, -50, 100, 100), in onOnceBeforeDraw()
DSampleShadowReference.cpp37 fRRectPath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-130, -128.5, 130, 128.5), 4, 4)); in onOnceBeforeDraw()
/external/skia/include/core/
DSkPathBuilder.h183 SkPathBuilder& addRRect(const SkRRect&, SkPathDirection, unsigned startIndex);
192 SkPathBuilder& addRRect(const SkRRect& rrect, SkPathDirection dir = SkPathDirection::kCW) {
194 return this->addRRect(rrect, dir, dir == SkPathDirection::kCW ? 6 : 7);
/external/skqp/modules/sksg/src/
DSkSGRect.cpp56 path.addRRect(fRRect, this->getDirection(), this->getInitialPointIndex()); in onAsPath()
/external/skia/modules/canvaskit/tests/
Dpath.spec.js54 const rrectPath = new CanvasKit.Path().addRRect(rrect, true);
476 .addRRect([300, 10, 500, 290, // Rect in LTRB order
479 .addRRect(CanvasKit.RRectXY([350, 60, 450, 240], 20, 80), true) // Rect, rx, ry, ccw
/external/skqp/bench/
DShadowBench.cpp53 fRRects[i].addRRect(SkRRect::MakeRectXY(rect, kRRRadius, kRRRadius)); in genRRects()
/external/skia/bench/
DShadowBench.cpp53 fRRects[i].addRRect(SkRRect::MakeRectXY(rect, kRRRadius, kRRRadius)); in genRRects()
/external/skqp/experimental/svg/model/
DSkSVGRect.cpp92 path.addRRect(this->resolve(ctx.lengthContext())); in onAsPath()
/external/skqp/src/core/
DSkPictureRecord.cpp366 this->addRRect(rrect); in recordClipRRect()
497 this->addRRect(rrect); in onDrawRRect()
507 this->addRRect(outer); in onDrawDRRect()
508 this->addRRect(inner); in onDrawDRRect()
873 void SkPictureRecord::addRRect(const SkRRect& rrect) { in addRRect() function in SkPictureRecord
/external/skia/src/core/
DSkPictureRecord.cpp370 this->addRRect(rrect); in recordClipRRect()
514 this->addRRect(rrect); in onDrawRRect()
524 this->addRRect(outer); in onDrawDRRect()
525 this->addRRect(inner); in onDrawDRRect()
919 void SkPictureRecord::addRRect(const SkRRect& rrect) { in addRRect() function in SkPictureRecord
/external/skia/gm/
Dnested.cpp64 b->addRRect(rr, dir); in AddShape()
Danimated_image_orientation.cpp26 .addRRect(SkRRect::MakeRectXY(bounds, radius, radius)); in post_processor()
/external/skqp/tests/
DRRectInPathTest.cpp19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect()
37 recreatedPath.addRRect(xrr, xd, xs); in path_contains_rrect()
54 path.addRRect(in, dir, start); in inner_path_contains_rrect()
/external/skqp/samplecode/
DSampleAndroidShadows.cpp67 fRRPath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-100, -50, 200, 100), 4, 4)); in onOnceBeforeDraw()
86 fSquareRRectPath.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(-50, -50, 100, 100), in onOnceBeforeDraw()
/external/skqp/fuzz/
DFuzzCommon.cpp160 path->addRRect(rr, dir); in FuzzNicePath()
166 path->addRRect(rr, dir, ui); in FuzzNicePath()
/external/skia/fuzz/
DFuzzCommon.cpp160 path->addRRect(rr, dir); in FuzzNicePath()
166 path->addRRect(rr, dir, ui); in FuzzNicePath()

1234