Searched defs:lastPt (Results 1 - 5 of 5) sorted by relevance

/external/skia/tests/
H A DPathOpsExtendedTest.cpp56 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; local
62 if (firstPtSet && lastPtSet && firstPt != lastPt) {
63 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY,
73 lastPt = pts[1];
79 lastPt = pts[2];
86 lastPt = pts[2];
93 lastPt = pts[3];
97 if (firstPtSet && lastPtSet && firstPt != lastPt) {
98 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt
[all...]
H A DPathTest.cpp2725 SkPoint lastPt; local
2727 lastPt.set(0, 0);
2735 lastPt = lastMoveTo = pts[0];
2740 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2742 lastPt = pts[1];
2748 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2751 lastPt = pts[2];
2756 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2760 lastPt = pts[3];
2765 lastPt
[all...]
/external/skia/src/utils/win/
H A DSkDWriteGeometrySink.cpp113 SkPoint lastPt; local
114 fPath->getLastPt(&lastPt);
115 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) };
/external/skia/src/pathops/
H A DSkOpSegment.h230 const SkPoint& lastPt() const { function in class:SkOpSegment
/external/skia/src/core/
H A DSkPath.cpp616 bool SkPath::getLastPt(SkPoint* lastPt) const {
621 if (lastPt) {
622 *lastPt = fPathRef->atPoint(count - 1);
626 if (lastPt) {
627 lastPt->set(0, 0);
1620 SkPoint lastPt = fLastPt; local
1629 lastPt = fPts[0];
1645 if (!IsLineDegenerate(lastPt, fPts[0])) {
1661 if (!IsQuadDegenerate(lastPt, fPts[0], fPts[1])) {
1677 if (!IsCubicDegenerate(lastPt, fPt
[all...]

Completed in 486 milliseconds