/external/skia/include/core/ |
D | SkPathBuilder.h | 16 class SK_API SkPathBuilder { 18 SkPathBuilder(); 19 SkPathBuilder(SkPathFillType); 20 SkPathBuilder(const SkPath&); 21 SkPathBuilder(const SkPathBuilder&) = default; 22 ~SkPathBuilder(); 24 SkPathBuilder& operator=(const SkPath&); 25 SkPathBuilder& operator=(const SkPathBuilder&) = default; 33 SkPathBuilder& setFillType(SkPathFillType ft) { fFillType = ft; return *this; } in setFillType() 34 SkPathBuilder& setIsVolatile(bool isVolatile) { fIsVolatile = isVolatile; return *this; } in setIsVolatile() [all …]
|
/external/skia/src/core/ |
D | SkPathBuilder.cpp | 17 SkPathBuilder::SkPathBuilder() { in SkPathBuilder() function in SkPathBuilder 21 SkPathBuilder::SkPathBuilder(SkPathFillType ft) { in SkPathBuilder() function in SkPathBuilder 26 SkPathBuilder::SkPathBuilder(const SkPath& src) { in SkPathBuilder() function in SkPathBuilder 30 SkPathBuilder::~SkPathBuilder() { in ~SkPathBuilder() 33 SkPathBuilder& SkPathBuilder::reset() { in reset() 52 SkPathBuilder& SkPathBuilder::operator=(const SkPath& src) { in operator =() 68 void SkPathBuilder::incReserve(int extraPtCount, int extraVbCount) { in incReserve() 73 SkRect SkPathBuilder::computeBounds() const { in computeBounds() 87 SkPathBuilder& SkPathBuilder::moveTo(SkPoint pt) { in moveTo() 96 SkPathBuilder& SkPathBuilder::lineTo(SkPoint pt) { in lineTo() [all …]
|
/external/skia/gm/ |
D | hairlines.cpp | 35 SkPathBuilder lineAngles; in onOnceBeforeDraw() 49 fPaths.push_back(SkPathBuilder().moveTo(0, -10) in onOnceBeforeDraw() 53 fPaths.push_back(SkPathBuilder().moveTo(0, -5) in onOnceBeforeDraw() 57 fPaths.push_back(SkPathBuilder().moveTo(0, -2) in onOnceBeforeDraw() 61 fPaths.push_back(SkPathBuilder().moveTo(0, -1) in onOnceBeforeDraw() 65 fPaths.push_back(SkPathBuilder().moveTo(0, -1) in onOnceBeforeDraw() 69 fPaths.push_back(SkPathBuilder().moveTo(0, -0) in onOnceBeforeDraw() 73 fPaths.push_back(SkPathBuilder().moveTo(0, -0) in onOnceBeforeDraw() 80 fPaths.push_back(SkPathBuilder().moveTo(4, 6) in onOnceBeforeDraw() 85 fPaths.push_back(SkPathBuilder().moveTo(5, 1) in onOnceBeforeDraw() [all …]
|
D | conicpaths.cpp | 34 SkPathBuilder b; in append_path() 40 this->append_path([](SkPathBuilder* conicCircle) { in onOnceBeforeDraw() 49 this->append_path([](SkPathBuilder* hyperbola) { in onOnceBeforeDraw() 54 this->append_path([](SkPathBuilder* thinHyperbola) { in onOnceBeforeDraw() 59 this->append_path([](SkPathBuilder* veryThinHyperbola) { in onOnceBeforeDraw() 64 this->append_path([](SkPathBuilder* closedHyperbola) { in onOnceBeforeDraw() 69 this->append_path([](SkPathBuilder* nearParabola) { in onOnceBeforeDraw() 75 this->append_path([](SkPathBuilder* thinEllipse) { in onOnceBeforeDraw() 80 this->append_path([](SkPathBuilder* veryThinEllipse) { in onOnceBeforeDraw() 85 this->append_path([](SkPathBuilder* closedEllipse) { in onOnceBeforeDraw() [all …]
|
D | degeneratesegments.cpp | 37 typedef SkPoint (*AddSegmentFunc)(SkPathBuilder&, SkPoint&); 42 static SkPoint AddMove(SkPathBuilder& path, SkPoint& startPt) { in AddMove() 48 static SkPoint AddMoveClose(SkPathBuilder& path, SkPoint& startPt) { in AddMoveClose() 55 static SkPoint AddDegenLine(SkPathBuilder& path, SkPoint& startPt) { in AddDegenLine() 60 static SkPoint AddMoveDegenLine(SkPathBuilder& path, SkPoint& startPt) { in AddMoveDegenLine() 67 static SkPoint AddMoveDegenLineClose(SkPathBuilder& path, SkPoint& startPt) { in AddMoveDegenLineClose() 75 static SkPoint AddDegenQuad(SkPathBuilder& path, SkPoint& startPt) { in AddDegenQuad() 80 static SkPoint AddMoveDegenQuad(SkPathBuilder& path, SkPoint& startPt) { in AddMoveDegenQuad() 87 static SkPoint AddMoveDegenQuadClose(SkPathBuilder& path, SkPoint& startPt) { in AddMoveDegenQuadClose() 95 static SkPoint AddDegenCubic(SkPathBuilder& path, SkPoint& startPt) { in AddDegenCubic() [all …]
|
D | concavepaths.cpp | 83 auto path = SkPathBuilder().addPolygon({{20,20}, {60,50}, {20,80}}, false) in test_fast_forward() 94 auto path = SkPathBuilder().addPolygon({{20,20}, {80,20}, {80,80}, {20,80}}, false) in test_hole() 154 auto path = SkPathBuilder().addPolygon({{20,80}, {80,80}, {80,20}, {20,20}}, false) in test_partners() 165 SkPathBuilder path; in test_winding_merged_to_zero() 182 SkPathBuilder path; in test_monotone_1() 194 SkPathBuilder path; in test_monotone_2() 206 SkPathBuilder path; in test_monotone_3() 218 SkPathBuilder path; in test_monotone_4() 233 SkPathBuilder path; in test_monotone_5() 245 SkPathBuilder path; in test_degenerate() [all …]
|
D | collapsepaths.cpp | 15 SkPathBuilder path; in test_collapse1() 29 SkPathBuilder path; in test_collapse2() 41 SkPathBuilder path; in test_collapse3() 53 SkPathBuilder path; in test_collapse4() 65 SkPathBuilder path; in test_collapse5() 78 SkPathBuilder path; in test_collapse6() 91 SkPathBuilder path; in test_collapse7() 104 SkPathBuilder path; in test_collapse8() 117 SkPathBuilder path; in test_collapse9() 134 SkPathBuilder path; in test_collapse10()
|
D | arcto.cpp | 78 SkPathBuilder svgArc; 81 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kSmall_ArcSize, 86 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kLarge_ArcSize, 114 SkPathBuilder path; 116 .arcTo({0, 0}, 0, SkPathBuilder::kLarge_ArcSize, SkPathDirection::kCW, {200, 200}); 120 .arcTo({80, 80}, 0, SkPathBuilder::kLarge_ArcSize, SkPathDirection::kCW, {200, 100}); 201 SkPathBuilder p;
|
D | pathfill.cpp | 44 SkPathBuilder().moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])) in make_triangle() 58 SkPathBuilder().addRect(r).offset(10, 0).detach(), in make_rect() 67 SkPathBuilder().addOval(r).offset(10, 0).detach(), in make_oval() 79 SkPathBuilder builder; in make_sawtooth() 98 SkPathBuilder builder; in make_house() 141 SkPathBuilder builder; in make_star() 158 SkPathBuilder().moveTo(30, 30) in make_line() 171 SkPathBuilder path; in make_info() 202 SkPathBuilder path; in make_accessibility() 236 SkPathBuilder path; in make_visualizer() [all …]
|
D | aaa.cpp | 48 SkPathBuilder path; in DEF_SIMPLE_GM() 102 SkPathBuilder builder; in DEF_SIMPLE_GM() 125 canvas->drawPath(SkPathBuilder().addRect({20, 20, 100.4999f, 100}) in DEF_SIMPLE_GM() 130 canvas->drawPath(SkPathBuilder().addRect({20, 20, 100.1f, 100}) in DEF_SIMPLE_GM()
|
D | smallpaths.cpp | 34 SkPathBuilder().moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])) in make_triangle() 69 SkPathBuilder b; in make_star() 85 SkPathBuilder b; in make_three_line() 104 SkPathBuilder b; in make_arrow() 123 SkPathBuilder b; in make_curve() 135 SkPathBuilder b; in make_battery() 162 SkPathBuilder b; in make_battery2() 187 SkPathBuilder b; in make_ring()
|
D | emptypath.cpp | 129 SkPathBuilder builder; in make_path_move() 137 SkPathBuilder builder; in make_path_move_close() 145 SkPathBuilder builder; in make_path_move_line() 153 return SkPathBuilder().moveTo(kPts[0]) in make_path_move_mix()
|
D | addarc.cpp | 56 SkPathBuilder path; in onDraw() 101 SkPathMeasure meas(SkPathBuilder().addArc(oval, 0, deg).detach(), false); 216 static void html_canvas_arc(SkPathBuilder* path, SkScalar x, SkScalar y, SkScalar r, SkScalar start, 258 SkPathBuilder path; 287 SkPathBuilder path;
|
D | daa.cpp | 36 SkPath path = SkPathBuilder().addPolygon(tri1, SK_ARRAY_COUNT(tri1), false) 76 SkPath path = SkPathBuilder().addPolygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false) 95 SkPath path = SkPathBuilder().addPolygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false)
|
D | nested.cpp | 56 static void AddShape(SkPathBuilder* b, const SkRect& rect, Shapes shape, SkPathDirection dir) { in AddShape() 106 SkPathBuilder builder; in onDraw()
|
D | beziers.cpp | 27 SkPathBuilder builder; in rnd_quad() 48 SkPathBuilder builder; in rnd_cubic()
|
D | patheffects.cpp | 76 SkPathBuilder b; in one_d_pe() 149 path = SkPathBuilder().addOval(r, SkPathDirection::kCW) in onDraw() 195 path1 = SkPathBuilder().moveTo(20, 20) in onDraw()
|
D | bug615686.cpp | 18 canvas->drawPath(SkPathBuilder().moveTo(0, 0)
|
D | crbug_788500.cpp | 14 SkPathBuilder path;
|
D | blurs.cpp | 91 SkPath path = SkPathBuilder().addRect(outer, SkPathDirection::kCW) 109 SkPath path = SkPathBuilder().addRect(outer, SkPathDirection::kCW)
|
D | convexpolyclip.cpp | 122 SkPathBuilder hexagon; in onOnceBeforeDraw() 256 return SkPathBuilder(fPathBuilder).close().detach(); in asClosedPath() 296 SkPathBuilder fPathBuilder;
|
D | crbug_913349.cpp | 20 SkPathBuilder path;
|
/external/skia/tests/ |
D | PathBuilderTest.cpp | 19 SkPathBuilder b; in DEF_TEST() 50 SkPathBuilder b(fillType); in DEF_TEST() 98 SkPathBuilder b; in DEF_TEST() 119 SkPathBuilder b; in DEF_TEST() 186 auto bp = SkPathBuilder().addOval(r, dir, i).detach(); in DEF_TEST() 191 auto bp = SkPathBuilder().addOval(r, dir).detach(); 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() 209 SkPathBuilder b; in DEF_TEST() 217 auto bp = SkPathBuilder().addRRect(rr, dir).detach(); in DEF_TEST() [all …]
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 171 gPath[0] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath() 175 gPath[1] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath() 179 gPath[2] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath() 183 gPath[3] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath() 187 gPath[4] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath() 194 gPath[5] = SkPathBuilder().moveTo(0.0f, 0.0f) in TestPath() 201 gPath[6] = SkPathBuilder().moveTo(0.0f, 0.0f) in TestPath()
|
/external/skia/samplecode/ |
D | SampleChart.cpp | 33 SkPathBuilder* plot, SkPathBuilder* fill) { in gen_paths() 133 SkPathBuilder plotPath, fillPath; in onDrawContent()
|