Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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&);
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_animation_windowAnimationManager.js19 const RRect = { variable
29 windowBounds: RRect,
72 RRect, property
/third_party/skia/gm/
Dcomplexclip2.cpp69 fPaths[0] = SkPath::RRect(fRects[0], 5, 5); in onOnceBeforeDraw()
74 fPaths[1] = SkPath::RRect(fRects[1], 5, 5); in onOnceBeforeDraw()
79 fPaths[2] = SkPath::RRect(fRects[2], 5, 5); in onOnceBeforeDraw()
84 fPaths[3] = SkPath::RRect(fRects[3], 5, 5); in onOnceBeforeDraw()
89 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()
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()
266 SkPath rrect(SkPath::RRect(SkRect::MakeLTRB(-25, -25, 25, 25), 10, 10));
Ddistantclip.cpp40 rec->clipPath(SkPath::RRect(r, 5, 5), true); in onDraw()
Dconvexpaths.cpp73 fPaths.push_back(SkPath::RRect(SkRRect::MakeRectXY({0, 0, 100, 100}, 40, 20), in makePaths()
Dpathfill.cpp31 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame()
/third_party/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,
/third_party/skia/modules/skottie/src/layers/shapelayer/
DEllipse.cpp22 public DiscardableAdapterBase<EllipseGeometryAdapter, sksg::RRect> {
DRectangle.cpp22 public DiscardableAdapterBase<RectangleGeometryAdapter, sksg::RRect> {
/third_party/skia/modules/svg/src/
DSkSVGRect.cpp70 SkPath path = SkPath::RRect(this->resolve(ctx.lengthContext())); in onAsPath()
/third_party/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,
/third_party/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()
/third_party/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
/third_party/skia/src/core/
DSkRasterClip.cpp174 return this->op(SkPath::RRect(rrect), matrix, op, doAA); in op()
DSkBitmapDevice.cpp378 this->drawPath(SkPath::RRect(rrect), paint, true); in drawRRect()
DSkPath.cpp3479 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/modules/canvaskit/npm_build/types/
Dindex.d.ts124 RRectXY(rect: InputRect, rx: number, ry: number): RRect;
3670 export type RRect = Float32Array; alias
3781 export type InputRRect = MallocObj | RRect | number[];
/third_party/skia/src/gpu/ops/
DGrOvalOpFactory.cpp2569 fRRects.emplace_back(RRect{color, innerRadius, outerRadius, bounds, type}); in CircularRRectOp()
2823 struct RRect { struct in CircularRRectOp
2837 SkSTArray<1, RRect, true> fRRects;
2946 RRect{color, devXRadius, devYRadius, innerXRadius, innerYRadius, bounds}); in EllipticalRRectOp()
3141 struct RRect { struct in EllipticalRRectOp
3155 SkSTArray<1, RRect, true> fRRects;
/third_party/skia/src/svg/
DSkSVGDevice.cpp886 elem.addPathAttributes(SkPath::RRect(rr), this->pathEncoding()); in drawRRect()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp481 this->internalDrawPath(this->cs(), this->localToDevice(), SkPath::RRect(rrect), paint, true); in drawRRect()