Home
last modified time | relevance | path

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

123

/external/skia/docs/examples/
DCanvas_quickReject_2.cpp10 testPath.addPoly(testPoints, SK_ARRAY_COUNT(testPoints), true); in draw()
11 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
DPath_incReserve.cpp7 auto addPoly = [](int sides, SkScalar size, SkPath* path) -> void { in draw() local
18 addPoly(sides, sides, &path); in draw()
DPath_Convexity.cpp14 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
DPath_isConvex.cpp13 path.addPoly(quad, SK_ARRAY_COUNT(quad), true);
DPath_addPoly_2.cpp12 path.addPoly({{20, 20}, {70, 20}, {40, 90}}, close); in draw()
DgetLocalBounds_broken.cpp13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
DPath_addPoly.cpp13 path.addPoly(points, SK_ARRAY_COUNT(points), close); in draw()
DPath_close.cpp12 path.addPoly(points, SK_ARRAY_COUNT(points), false); in draw()
DgetLocalBounds_working.cpp13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
DCanvas_clipPath_3.cpp12 path.addPoly(poly, SK_ARRAY_COUNT(poly), true); in draw()
DCanvas_PointMode.cpp17 path.addPoly(points, 3, false); in draw()
DPath_addRect_2.cpp14 arrowPath.addPoly(arrow, SK_ARRAY_COUNT(arrow), true); in draw()
DCanvas_getLocalClipBounds.cpp14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
DPath_isRect.cpp27 path.addPoly(pts, SK_ARRAY_COUNT(pts), false); in draw()
DCanvas_getDeviceClipBounds.cpp14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
DCanvas_drawPoints.cpp18 path.addPoly(points, 3, false); in draw()
DPath_Direction.cpp16 arrowPath.addPoly(arrow, SK_ARRAY_COUNT(arrow), true);
DPath_addOval_2.cpp16 arrowPath.addPoly(arrow, SK_ARRAY_COUNT(arrow), true);
/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()
/external/skia/samplecode/
DSampleDegenerateQuads.cpp62 shape.addPoly(corners, 4, true); in get_area_coverage()
347 outsetPath.addPoly(gpuOutset, 4, true); in onDrawContent()
352 insetPath.addPoly(gpuInset, 4, true); in onDrawContent()
365 path.addPoly(fCorners, 4, true); in onDrawContent()
371 path.addPoly(fCorners, 4, true); in onDrawContent()
403 path.addPoly(fCorners, 4, true); in isValid()
DSamplePathClip.cpp140 path.addPoly(verts, count, false); in draw_clipped_line()
182 path.addPoly(fPoly, N, true); in onDrawContent()
286 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(SkPathDirection::kCW == 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()

123