/third_party/skia/samplecode/ |
H A D | SampleClock.cpp | 163 path.addOval(rect, SkPathDirection::kCCW); 173 path.addOval(rect, SkPathDirection::kCCW); 183 path.addOval(rect, SkPathDirection::kCCW); 199 path.addOval(rect, SkPathDirection::kCCW);
|
H A D | SampleCircle.cpp | 20 p.addOval(r); in test_circlebounds()
|
H A D | SampleLayers.cpp | 193 path.addOval(SkRect::MakeXYWH(-w/2, -h/2, w, h));
|
H A D | SampleShadowUtils.cpp | 51 fConvexPaths.push_back().addOval(SkRect::MakeWH(20, 60));
|
/third_party/skia/tests/ |
H A D | PathBuilderTest.cpp | 186 auto bp = SkPathBuilder().addOval(r, dir, i).detach(); in DEF_TEST() 188 p.addOval(r, dir, i); in DEF_TEST() 191 auto bp = SkPathBuilder().addOval(r, dir).detach(); in DEF_TEST() 193 p.addOval(r, dir); in DEF_TEST() 197 bp = SkPathBuilder().addOval(r, dir).lineTo(10, 10).detach(); in DEF_TEST() 199 bp = SkPathBuilder().lineTo(10, 10).addOval(r, dir).detach(); in DEF_TEST()
|
H A D | GpuDrawPathTest.cpp | 67 oval1.addOval(rect, SkPathDirection::kCW); in test_drawSameRectOvals() 68 oval2.addOval(rect, SkPathDirection::kCCW); in test_drawSameRectOvals()
|
H A D | ParsePathTest.cpp | 61 p.addOval(r); in DEF_TEST()
|
H A D | ShadowTest.cpp | 203 path.addOval(SkRect::MakeLTRB(300, 300, 900, 900)); in DEF_TEST()
|
H A D | PictureTest.cpp | 378 invPath.addOval(rect1); in test_clip_bound_opt() 381 path.addOval(rect2); in test_clip_bound_opt() 383 path2.addOval(rect3); in test_clip_bound_opt()
|
/third_party/skia/gm/ |
H A D | pathreverse.cpp | 89 path.addOval(r); in DEF_SIMPLE_GM_BG_NAME() 91 path.addOval(r); in DEF_SIMPLE_GM_BG_NAME()
|
H A D | strokes.cpp | 359 path->addOval(bounds, SkPathDirection::kCW); in make2() 360 path->addOval(inset(bounds), SkPathDirection::kCW); in make2() 365 path->addOval(bounds, SkPathDirection::kCW); in make3() 366 path->addOval(inset(bounds), SkPathDirection::kCCW); in make3() 374 path->addOval(r, SkPathDirection::kCW); in make4() 382 path->addOval(r, SkPathDirection::kCCW); in make5()
|
H A D | nested.cpp | 68 b->addOval(rect, dir); in AddShape()
|
/third_party/skia/include/core/ |
H A D | SkPathBuilder.h | 182 SkPathBuilder& addOval(const SkRect&, SkPathDirection, unsigned startIndex); 188 SkPathBuilder& addOval(const SkRect& rect, SkPathDirection dir = SkPathDirection::kCW) { in addOval() function in SkPathBuilder 190 return this->addOval(rect, dir, 1); in addOval()
|
H A D | SkPath.h | 1097 SkPath& addOval(const SkRect& oval, SkPathDirection dir = SkPathDirection::kCW); 1111 SkPath& addOval(const SkRect& oval, SkPathDirection dir, unsigned start);
|
/third_party/skia/docs/examples/ |
H A D | Path_addOval.cpp | 9 oval.addOval({20, 20, 160, 80}); in REG_FIDDLE()
|
H A D | Path_addPath_3.cpp | 10 path.addOval({20, 20, 200, 120}, SkPathDirection::kCW, 1); in REG_FIDDLE()
|
H A D | Path_addPath_2.cpp | 10 path.addOval({-80, 20, 0, 60}, SkPathDirection::kCW, 1); in REG_FIDDLE()
|
H A D | Path_isOval.cpp | 9 path.addOval({20, 20, 220, 220}); in REG_FIDDLE()
|
H A D | skpaint_path_1d_path_effect.cpp | 8 path.addOval(SkRect::MakeWH(16.0f, 6.0f)); in REG_FIDDLE()
|
H A D | Path_addOval_2.cpp | 22 path.addOval(rect, direction, start); in REG_FIDDLE()
|
H A D | bug5252.cpp | 9 clip1.addOval(SkRect::MakeWH(225, 200)); in REG_FIDDLE()
|
/third_party/skia/bench/ |
H A D | PathOpsBench.cpp | 25 fPath1.addOval({-10, -20, 10, 20}); in PathOpsBench() 26 fPath2.addOval({-20, -10, 20, 10}); in PathOpsBench()
|
/third_party/skia/src/core/ |
H A D | SkPathBuilder.cpp | 400 // See SkPath::addOval() docs. in addArc() 408 return this->addOval(oval, sweepAngle > 0 ? SkPathDirection::kCW : SkPathDirection::kCCW, in addArc() 678 SkPathBuilder& SkPathBuilder::addOval(const SkRect& oval, SkPathDirection dir, unsigned index) { in addOval() function in SkPathBuilder 713 this->addOval(bounds, dir, index / 2); in addRRect() 757 this->addOval(SkRect::MakeLTRB(x - r, y - r, x + r, y + r), dir); in addCircle()
|
H A D | SkPath.cpp | 945 this->addOval(bounds, dir, startIndex / 2); in addRRect() 1038 SkPath& SkPath::addOval(const SkRect& oval, SkPathDirection dir) { in addOval() function in SkPath 1040 return this->addOval(oval, dir, 1); in addOval() 1043 SkPath& SkPath::addOval(const SkRect &oval, SkPathDirection dir, unsigned startPointIndex) { in addOval() function in SkPath 1046 /* If addOval() is called after previous moveTo(), in addOval() 1087 this->addOval(SkRect::MakeLTRB(x - r, y - r, x + r, y + r), dir); in addCircle() 1312 // See SkPath::addOval() docs. in addArc() 1320 return this->addOval(oval, sweepAngle > 0 ? SkPathDirection::kCW : SkPathDirection::kCCW, in addArc() 2083 // try path.addOval(2, 2, 2, 2) which is empty, but the bounds will in isValidImpl() 3252 path->addOval(ova in CreateDrawArcPath() [all...] |
/third_party/skia/fuzz/ |
H A D | FuzzCommon.cpp | 129 path->addOval(r, dir); in FuzzNicePath() 136 path->addOval(r, dir, ui); in FuzzNicePath()
|