Home
last modified time | relevance | path

Searched refs:cubicPts (Results 1 – 2 of 2) sorted by relevance

/external/skia/docs/examples/
DCubic.cpp10 SkPoint cubicPts[] = {{20, 150}, {90, 10}, {160, 150}, {230, 10}}; in draw() local
16 canvas->drawLine(cubicPts[j], cubicPts[j + 1], paint); in draw()
19 path.moveTo(cubicPts[0]); in draw()
20 path.cubicTo(cubicPts[1], cubicPts[2], cubicPts[3]); in draw()
24 cubicPts[1].fY += 30; in draw()
25 cubicPts[2].fX += 30; in draw()
/external/skqp/docs/
DSkPath_Reference.bmh2243 SkPoint cubicPts[] = {{20, 150}, {90, 10}, {160, 150}, {230, 10}};
2249 canvas->drawLine(cubicPts[j], cubicPts[j + 1], paint);
2252 path.moveTo(cubicPts[0]);
2253 path.cubicTo(cubicPts[1], cubicPts[2], cubicPts[3]);
2257 cubicPts[1].fY += 30;
2258 cubicPts[2].fX += 30;