Home
last modified time | relevance | path

Searched refs:RRect (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/modules/sksg/src/
DSkSGRect.cpp40 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()
/external/skia/modules/sksg/include/
DSkSGRect.h71 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&);
/external/skqp/modules/sksg/include/
DSkSGRect.h70 class RRect final : public GeometryNode {
72 static sk_sp<RRect> Make() { return sk_sp<RRect>(new RRect(SkRRect())); } in Make()
73 static sk_sp<RRect> Make(const SkRRect& rr) { return sk_sp<RRect>(new RRect(rr)); } in Make()
75 SG_ATTRIBUTE(RRect, SkRRect, fRRect)
88 explicit RRect(const SkRRect&);
/external/skqp/modules/sksg/src/
DSkSGRect.cpp38 RRect::RRect(const SkRRect& rr) : fRRect(rr) {} in RRect() function in sksg::RRect
40 void RRect::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip()
44 void RRect::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw()
48 SkRect RRect::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate()
54 SkPath RRect::onAsPath() const { in onAsPath()
/external/skia/gm/
Dcomplexclip2.cpp70 fPaths[0] = SkPath::RRect(fRects[0], 5, 5); in onOnceBeforeDraw()
75 fPaths[1] = SkPath::RRect(fRects[1], 5, 5); in onOnceBeforeDraw()
80 fPaths[2] = SkPath::RRect(fRects[2], 5, 5); in onOnceBeforeDraw()
85 fPaths[3] = SkPath::RRect(fRects[3], 5, 5); in onOnceBeforeDraw()
90 fPaths[4] = SkPath::RRect(fRects[4], 5, 5); in onOnceBeforeDraw()
Dpathcontourstart.cpp69 return SkPath::RRect(rrect, dir, startIndex); in onDraw()
75 return SkPath::RRect(rrect, dir, startIndex); in onDraw()
81 return SkPath::RRect(rrect, dir, startIndex); in onDraw()
Ddistantclip.cpp40 rec->clipPath(SkPath::RRect(r, 5, 5), true); in onDraw()
Dshadowutils.cpp50 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()
268 SkPath rrect(SkPath::RRect(SkRect::MakeLTRB(-25, -25, 25, 25), 10, 10));
Dconvexpaths.cpp73 fPaths.push_back(SkPath::RRect(SkRRect::MakeRectXY({0, 0, 100, 100}, 40, 20), in makePaths()
/external/skqp/modules/skottie/src/
DSkottieAdapter.h28 class RRect; variable
52 explicit RRectAdapter(sk_sp<sksg::RRect>);
62 sk_sp<sksg::RRect> fRRectNode;
DSkottieShapeLayer.cpp44 auto rect_node = sksg::RRect::Make(); in AttachRRectGeometry()
74 auto rect_node = sksg::RRect::Make(); in AttachEllipseGeometry()
DSkottieAdapter.cpp35 RRectAdapter::RRectAdapter(sk_sp<sksg::RRect> wrapped_node) in RRectAdapter()
/external/skqp/modules/sksg/samples/
DSampleSVGPong.cpp67 void update_pos(const sk_sp<sksg::RRect>& rr, const SkPoint& pos) { in update_pos()
217 objectNode = sksg::RRect::Make(rrect); in initialize()
218 shadowNode = sksg::RRect::Make(rrect); in initialize()
241 sk_sp<sksg::RRect> objectNode,
/external/skia/modules/sksg/samples/
DSampleSVGPong.cpp70 void update_pos(const sk_sp<sksg::RRect>& rr, const SkPoint& pos) { 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,
/external/skia/modules/skottie/src/layers/shapelayer/
DEllipse.cpp22 public DiscardableAdapterBase<EllipseGeometryAdapter, sksg::RRect> {
DRectangle.cpp22 public DiscardableAdapterBase<RectangleGeometryAdapter, sksg::RRect> {
/external/skia/modules/svg/src/
DSkSVGRect.cpp70 SkPath path = SkPath::RRect(this->resolve(ctx.lengthContext())); in onAsPath()
/external/skia/include/core/
DSkPath.h76 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,
/external/skqp/site/user/api/
DSkPath_Overview.md14 …umented#Arc'>Arc</a>, <a href='SkRect_Reference#Rect'>Rect</a>, <a href='#RRect'>Round_Rect</a>, <…
18 <a href='SkRect_Reference#Rect'>Rect</a>, <a href='undocumented#Oval'>Oval</a>, <a href='#RRect'>Ro…
DSkRRect_Reference.md192 <a href='#SkRRect_Type'>Type</a> describes possible specializations of <a href='#RRect'>Round_Rect<…
193 exclusive; a <a href='#RRect'>Round_Rect</a> may only have one type.
208 <a href='#RRect'>Round_Rect</a> has zero width or height. All radii are zero.
215 <a href='#RRect'>Round_Rect</a> has width and height. All radii are zero.
222 <a href='#RRect'>Round_Rect</a> has width and height. All four x-radii are equal,
231 <a href='#RRect'>Round_Rect</a> has width and height. All four x-radii are equal and
241 <a href='#RRect'>Round_Rect</a> has width and height. Left x-radii are equal, top
246 that divides the <a href='#RRect'>Round_Rect</a> into nine rectangular <a href='undocumented#Patch'…
367 left <a href='#RRect'>Round_Rect</a> is not an <a href='undocumented#Oval'>oval</a>. The second rad…
368 dimensions; right <a href='#RRect'>Round_Rect</a> is an <a href='undocumented#Oval'>oval</a>.
[all …]
/external/skia/site/docs/user/api/
DSkPath_Overview.md38 <a href='#RRect'>Round_Rect</a>, <a href='undocumented#Circle'>Circle</a>, and
50 <a href='undocumented#Oval'>Oval</a>, <a href='#RRect'>Round_Rect</a>, and so
/external/skqp/tests/
DGrShapeTest.cpp1150 static const SkRRect& RRect() { in test_path_effect_makes_rrect() function in test_path_effect_makes_rrect::RRectPathEffect
1163 dst->addRRect(RRect()); in test_path_effect_makes_rrect()
1168 return RRect().getBounds(); in test_path_effect_makes_rrect()
1201 TestCase rrectFillCase(reporter, RRectPathEffect::RRect(), fill); in test_path_effect_makes_rrect()
1204 TestCase rrectStrokeCase(reporter, RRectPathEffect::RRect(), stroke); in test_path_effect_makes_rrect()
1211 REPORTER_ASSERT(reporter, rrect == RRectPathEffect::RRect()); in test_path_effect_makes_rrect()
1216 REPORTER_ASSERT(reporter, rrect == RRectPathEffect::RRect()); in test_path_effect_makes_rrect()
1222 REPORTER_ASSERT(reporter, rrect == RRectPathEffect::RRect()); in test_path_effect_makes_rrect()
/external/skia/tests/
DGrStyledShapeTest.cpp1160 static const SkRRect& RRect() { in test_path_effect_makes_rrect() function in test_path_effect_makes_rrect::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()
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts124 RRectXY(rect: InputRect, rx: number, ry: number): RRect;
3607 export type RRect = Float32Array; alias
3717 export type InputRRect = MallocObj | RRect | number[];
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.cpp2259 fRRects.emplace_back(RRect{color, innerRadius, outerRadius, bounds, type}); in CircularRRectOp()
2477 struct RRect { struct in CircularRRectOp
2491 SkSTArray<1, RRect, true> fRRects;
2598 RRect{color, devXRadius, devYRadius, innerXRadius, innerYRadius, bounds}); in EllipticalRRectOp()
2741 struct RRect { struct in EllipticalRRectOp
2754 SkSTArray<1, RRect, true> fRRects;

12