/third_party/skia/modules/sksg/src/ |
H A D | SkSGRect.cpp | 40 RRect::RRect(const SkRRect& rr) : fRRect(rr) {} in RRect() function in sksg::RRect 42 void RRect::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip() 46 void RRect::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw() 50 bool RRect::onContains(const SkPoint& p) const { in onContains() 66 SkRect RRect::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate() 72 SkPath RRect::onAsPath() const { in onAsPath() 73 return SkPath::RRect(fRRect, this->getDirection(), this->getInitialPointIndex()); in onAsPath()
|
/third_party/skia/modules/sksg/include/ |
H A D | SkSGRect.h | 71 class RRect final : public GeometryNode { 73 static sk_sp<RRect> Make() { return sk_sp<RRect>(new RRect(SkRRect())); } in Make() 74 static sk_sp<RRect> Make(const SkRRect& rr) { return sk_sp<RRect>(new RRect(rr)); } in Make() 76 SG_ATTRIBUTE(RRect, SkRRect, fRRect) 90 explicit RRect(const SkRRect&);
|
/third_party/skia/gm/ |
H A D | complexclip2.cpp | 69 fPaths[0] = SkPath::RRect(fRects[0], 5, 5); 74 fPaths[1] = SkPath::RRect(fRects[1], 5, 5); 79 fPaths[2] = SkPath::RRect(fRects[2], 5, 5); 84 fPaths[3] = SkPath::RRect(fRects[3], 5, 5); 89 fPaths[4] = SkPath::RRect(fRects[4], 5, 5);
|
H A D | pathcontourstart.cpp | 69 return SkPath::RRect(rrect, dir, startIndex); 75 return SkPath::RRect(rrect, dir, startIndex); 81 return SkPath::RRect(rrect, dir, startIndex);
|
H A D | distantclip.cpp | 40 rec->clipPath(SkPath::RRect(r, 5, 5), true);
|
H A D | shadowutils.cpp | 50 paths.push_back(SkPath::RRect(SkRect::MakeWH(50, 50), 10, 10.00002f)); in draw_paths() 53 paths.push_back(SkPath::RRect(oddRRect)); in draw_paths() 266 SkPath rrect(SkPath::RRect(SkRect::MakeLTRB(-25, -25, 25, 25), 10, 10)); in DEF_SIMPLE_GM()
|
H A D | convexpaths.cpp | 73 fPaths.push_back(SkPath::RRect(SkRRect::MakeRectXY({0, 0, 100, 100}, 40, 20), in makePaths()
|
H A D | pathfill.cpp | 31 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame()
|
/third_party/skia/modules/sksg/samples/ |
H A D | SampleSVGPong.cpp | 70 void update_pos(const sk_sp<sksg::RRect>& rr, const SkPoint& pos) { in update_pos() 71 // TODO: position setters on RRect? in update_pos() 226 objectNode = sksg::RRect::Make(rrect); in initialize() 227 shadowNode = sksg::RRect::Make(rrect); in initialize() 250 sk_sp<sksg::RRect> objectNode,
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
H A D | Rectangle.cpp | 22 public DiscardableAdapterBase<RectangleGeometryAdapter, sksg::RRect> {
|
H A D | Ellipse.cpp | 22 public DiscardableAdapterBase<EllipseGeometryAdapter, sksg::RRect> {
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGRect.cpp | 70 SkPath path = SkPath::RRect(this->resolve(ctx.lengthContext())); in onAsPath()
|
/third_party/skia/include/core/ |
H A D | SkPath.h | 76 static SkPath RRect(const SkRRect&, SkPathDirection dir = SkPathDirection::kCW); 77 static SkPath RRect(const SkRRect&, SkPathDirection, unsigned startIndex); 78 static SkPath RRect(const SkRect& bounds, SkScalar rx, SkScalar ry,
|
/third_party/skia/tests/ |
H A D | GrStyledShapeTest.cpp | 1160 static const SkRRect& RRect() { in test_path_effect_makes_rrect() function in RRectPathEffect 1173 dst->addRRect(RRect()); in test_path_effect_makes_rrect() 1179 *bounds = RRect().getBounds(); in test_path_effect_makes_rrect() 1214 TestCase rrectFillCase(reporter, RRectPathEffect::RRect(), fill); in test_path_effect_makes_rrect() 1217 TestCase rrectStrokeCase(reporter, RRectPathEffect::RRect(), stroke); in test_path_effect_makes_rrect() 1224 REPORTER_ASSERT(reporter, rrect == RRectPathEffect::RRect()); in test_path_effect_makes_rrect() 1229 REPORTER_ASSERT(reporter, rrect == RRectPathEffect::RRect()); in test_path_effect_makes_rrect() 1235 REPORTER_ASSERT(reporter, rrect == RRectPathEffect::RRect()); in test_path_effect_makes_rrect() 1326 // RRect types can have a change in start index or direction after the PE is applied. This in test_make_hairline_path_effect()
|
/third_party/skia/src/core/ |
H A D | SkRasterClip.cpp | 174 return this->op(SkPath::RRect(rrect), matrix, op, doAA); in op()
|
H A D | SkBitmapDevice.cpp | 378 this->drawPath(SkPath::RRect(rrect), paint, true); in drawRRect()
|
H A D | SkPath.cpp | 3479 SkPath SkPath::RRect(const SkRRect& rr, SkPathDirection dir) { in RRect() function in SkPath 3483 SkPath SkPath::RRect(const SkRRect& rr, SkPathDirection dir, unsigned startIndex) { in RRect() function in SkPath 3487 SkPath SkPath::RRect(const SkRect& r, SkScalar rx, SkScalar ry, SkPathDirection dir) { in RRect() function in SkPath
|
/third_party/skia/src/gpu/ops/ |
H A D | GrOvalOpFactory.cpp | 2598 fRRects.emplace_back(RRect{color, innerRadius, outerRadius, bounds, type}); 2852 struct RRect { 2866 SkSTArray<1, RRect, true> fRRects; 2975 RRect{color, devXRadius, devYRadius, innerXRadius, innerYRadius, bounds}); 3170 struct RRect { 3184 SkSTArray<1, RRect, true> fRRects; 3204 // RRect ops only handle simple, but not too simple, rrects. 3254 // RRect ops only handle simple, but not too simple, rrects.
|
/third_party/skia/src/svg/ |
H A D | SkSVGDevice.cpp | 886 elem.addPathAttributes(SkPath::RRect(rr), this->pathEncoding());
|
/third_party/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 481 this->internalDrawPath(this->cs(), this->localToDevice(), SkPath::RRect(rrect), paint, true); in drawRRect()
|