Home
last modified time | relevance | path

Searched refs:addPolygon (Results 1 – 11 of 11) sorted by relevance

/external/skia/gm/
Ddaa.cpp36 SkPath path = SkPathBuilder().addPolygon(tri1, SK_ARRAY_COUNT(tri1), false)
37 .addPolygon(tri2, SK_ARRAY_COUNT(tri2), false)
76 SkPath path = SkPathBuilder().addPolygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false)
77 .addPolygon({{K*0.5f,0},{K*0.5f,K},{K,K},{K,0}}, false)
95 SkPath path = SkPathBuilder().addPolygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false)
96 .addPolygon({{K*0.5f,0},{K,0},{K,K},{K*0.5f,K}}, false)
Dconcavepaths.cpp83 auto path = SkPathBuilder().addPolygon({{20,20}, {60,50}, {20,80}}, false) in test_fast_forward()
84 .addPolygon({{40,20}, {40,80}, {80,50}}, false) in test_fast_forward()
94 auto path = SkPathBuilder().addPolygon({{20,20}, {80,20}, {80,80}, {20,80}}, false) in test_hole()
95 .addPolygon({{30,30}, {30,70}, {70,70}, {70,30}}, false) in test_hole()
154 auto path = SkPathBuilder().addPolygon({{20,80}, {80,80}, {80,20}, {20,20}}, false) in test_partners()
155 .addPolygon({{30,30}, {45,50}, {30,70}}, false) in test_partners()
156 .addPolygon({{70,30}, {70,70}, {55,50}}, false) in test_partners()
Dpathfill.cpp99 builder.addPolygon({ in make_house()
/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2PolygonTest.java203 builder.addPolygon(a);
205 builder.addPolygon(b);
225 builder.addPolygon(adj0);
226 builder.addPolygon(unAdj);
/external/skia/include/core/
DSkPathBuilder.h200 SkPathBuilder& addPolygon(const SkPoint pts[], int count, bool isClosed);
201 SkPathBuilder& addPolygon(const std::initializer_list<SkPoint>& list, bool isClosed) { in addPolygon() function
202 return this->addPolygon(list.begin(), SkToInt(list.size()), isClosed); in addPolygon()
/external/skia/samplecode/
DSamplePath.cpp728 canvas->drawPath(SkPathBuilder().addPolygon(fPts, 4, false).detach(), paint); in onDrawContent()
729 canvas->drawPath(SkPathBuilder().addPolygon(fQuad, 3, false).detach(), paint); in onDrawContent()
/external/skia/tests/
DPathBuilderTest.cpp284 auto path0 = SkPathBuilder().addPolygon(pts, i, isClosed).detach(); in DEF_TEST()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2PolygonBuilder.java275 public void addPolygon(S2Polygon polygon) { in addPolygon() method in S2PolygonBuilder
/external/skia/src/core/
DSkPathBuilder.cpp745 SkPathBuilder& SkPathBuilder::addPolygon(const SkPoint pts[], int count, bool isClosed) { in addPolygon() function in SkPathBuilder
DSkPath.cpp3427 return SkPathBuilder().addPolygon(pts, count, isClosed) in Polygon()
/external/skia/src/svg/
DSkSVGDevice.cpp844 path.addPolygon(pts, SkToInt(count), false); in drawPoints()