Home
last modified time | relevance | path

Searched refs:addPoly (Results 1 – 25 of 43) sorted by relevance

12

/external/skia/gm/
Ddaa.cpp32 path.addPoly(tri1, SK_ARRAY_COUNT(tri1), false);
33 path.addPoly(tri2, SK_ARRAY_COUNT(tri2), false);
51 path.addPoly(rect1, SK_ARRAY_COUNT(rect1), false);
60 path.addPoly(rect2, SK_ARRAY_COUNT(rect2), false);
81 path.addPoly(rect1, SK_ARRAY_COUNT(rect1), false);
82 path.addPoly(rect2, SK_ARRAY_COUNT(rect2), false);
103 path.addPoly(rect1, SK_ARRAY_COUNT(rect1), false);
104 path.addPoly(rect2, SK_ARRAY_COUNT(rect2), false);
124 path.addPoly(poly, SK_ARRAY_COUNT(poly), false);
Dcomplexclip.cpp67 clipA.addPoly({{10, 20}, {165, 22}, {70, 105}, {165, 177}, {-5, 180}}, false).close(); in onDraw()
70 clipB.addPoly({{40, 10}, {190, 15}, {195, 190}, {40, 185}, {155, 100}}, false).close(); in onDraw()
Dconcavepaths.cpp135 path.addPoly({{20,20}, {80,20}, {80,80}, {20,80}}, false) in test_hole()
136 .addPoly({{30,30}, {30,70}, {70,70}, {70,30}}, false); in test_hole()
145 canvas->drawPath(SkPath().addPoly({{30,20}, {50,80}, {70,20}, {20,57}, {80,57}}, false), in test_star()
/external/skqp/gm/
Ddaa.cpp31 path.addPoly(tri1, SK_ARRAY_COUNT(tri1), false);
32 path.addPoly(tri2, SK_ARRAY_COUNT(tri2), false);
Dcomplexclip.cpp67 clipA.addPoly({{10, 20}, {165, 22}, {70, 105}, {165, 177}, {-5, 180}}, false).close(); in onDraw()
70 clipB.addPoly({{40, 10}, {190, 15}, {195, 190}, {40, 185}, {155, 100}}, false).close(); in onDraw()
Dconcavepaths.cpp135 path.addPoly({{20,20}, {80,20}, {80,80}, {20,80}}, false) in test_hole()
136 .addPoly({{30,30}, {30,70}, {70,70}, {70,30}}, false); in test_hole()
145 canvas->drawPath(SkPath().addPoly({{30,20}, {50,80}, {70,20}, {20,57}, {80,57}}, false), in test_star()
/external/skia/samplecode/
DSampleDegenerateQuads.cpp61 shape.addPoly(corners, 4, true); in get_area_coverage()
334 outsetPath.addPoly(gpuOutset, 4, true); in onDrawContent()
339 insetPath.addPoly(gpuInset, 4, true); in onDrawContent()
346 path.addPoly(fCorners, 4, true); in onDrawContent()
352 path.addPoly(fCorners, 4, true); in onDrawContent()
384 path.addPoly(fCorners, 4, true); in isValid()
DSamplePathClip.cpp148 path.addPoly(verts, count, false); in draw_clipped_line()
196 path.addPoly(fPoly, N, true); in onDrawContent()
301 path.addPoly(fPoly, N, true); in onFindClickHandler()
/external/skia/tests/
DPathOpsAsWindingTest.cpp79 test.addPoly(ell, SK_ARRAY_COUNT(ell), true); in DEF_TEST()
94 test.addPoly(ell, SK_ARRAY_COUNT(ell), true); in DEF_TEST()
143 test.addPoly(SkPath::kCW_Direction == dirA ? revBccw : revBcw, true); in DEF_TEST()
/external/skqp/tests/
DPathOpsAsWindingTest.cpp79 test.addPoly(ell, SK_ARRAY_COUNT(ell), true); in DEF_TEST()
94 test.addPoly(ell, SK_ARRAY_COUNT(ell), true); in DEF_TEST()
143 test.addPoly(SkPath::kCW_Direction == dirA ? revBccw : revBcw, true); in DEF_TEST()
/external/skqp/samplecode/
DSamplePathClip.cpp148 path.addPoly(verts, count, false); in draw_clipped_line()
196 path.addPoly(fPoly, N, true); in onDrawContent()
301 path.addPoly(fPoly, N, true); in onFindClickHandler()
DSamplePathFuzz.cpp406 path.addPoly(&points[0], points.count(), close); in makePath()
/external/skqp/experimental/svg/model/
DSkSVGPoly.cpp18 fPath.addPoly(pts.value().begin(), in setPoints()
/external/skia/experimental/svg/model/
DSkSVGPoly.cpp18 fPath.addPoly(pts.value().begin(), in setPoints()
/external/skqp/include/core/
DSkPath.h1225 SkPath& addPoly(const SkPoint pts[], int count, bool close);
1237 SkPath& addPoly(const std::initializer_list<SkPoint>& list, bool close) { in addPoly() function
1238 return this->addPoly(list.begin(), SkToInt(list.size()), close); in addPoly()
/external/skia/include/core/
DSkPath.h1225 SkPath& addPoly(const SkPoint pts[], int count, bool close);
1237 SkPath& addPoly(const std::initializer_list<SkPoint>& list, bool close) { in addPoly() function
1238 return this->addPoly(list.begin(), SkToInt(list.size()), close); in addPoly()
/external/skia/docs/
Dillustrations.bmh602 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
647 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
693 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
735 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
775 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
DSkPath_Reference.bmh184 arrowPath.addPoly(arrow, SK_ARRAY_COUNT(arrow), true);
728 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
818 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
850 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
1633 auto addPoly = [](int sides, SkScalar size, SkPath* path) -> void {
1644 addPoly(sides, sides, &path);
2830 path.addPoly(points, SK_ARRAY_COUNT(points), false);
3045 following lineTo does not. addPoly returns true even though rect is not closed, and one
3069 path.addPoly(pts, SK_ARRAY_COUNT(pts), false);
3070 debugster("addPoly", path);
[all …]
/external/skqp/docs/
Dillustrations.bmh602 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
647 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
693 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
735 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
775 srcPath.addPoly(points, SK_ARRAY_COUNT(points), true);
DSkPath_Reference.bmh184 arrowPath.addPoly(arrow, SK_ARRAY_COUNT(arrow), true);
728 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
818 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
850 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
1633 auto addPoly = [](int sides, SkScalar size, SkPath* path) -> void {
1644 addPoly(sides, sides, &path);
2830 path.addPoly(points, SK_ARRAY_COUNT(points), false);
3045 following lineTo does not. addPoly returns true even though rect is not closed, and one
3069 path.addPoly(pts, SK_ARRAY_COUNT(pts), false);
3070 debugster("addPoly", path);
[all …]
/external/skia/src/utils/
DSkDashPath.cpp283 path->addPoly(pts, SK_ARRAY_COUNT(pts), false); in addSegment()
/external/skqp/src/utils/
DSkDashPath.cpp283 path->addPoly(pts, SK_ARRAY_COUNT(pts), false); in addSegment()
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp341 path.addPoly(dstClip, 4, true); in draw_texture_producer()
/external/skqp/src/core/
DSkScan_Path.cpp755 path.addPoly(pts, 3, false); in FillTriangle()
/external/skia/src/core/
DSkScan_Path.cpp755 path.addPoly(pts, 3, false); in FillTriangle()

12