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

/external/chromium_org/third_party/skia/tests/
H A DPathOpsExtendedTest.cpp59 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; local
65 if (firstPtSet && lastPtSet && firstPt != lastPt) {
66 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY,
76 lastPt = pts[1];
82 lastPt = pts[2];
89 lastPt = pts[3];
93 if (firstPtSet && lastPtSet && firstPt != lastPt) {
94 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt
[all...]
H A DPathTest.cpp2608 SkPoint lastPt; local
2610 lastPt.set(0, 0);
2618 lastPt = lastMoveTo = pts[0];
2623 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2625 lastPt = pts[1];
2631 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2634 lastPt = pts[2];
2639 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2643 lastPt = pts[3];
2648 lastPt
[all...]
/external/chromium_org/third_party/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/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/tests/
H A DPathOpsExtendedTest.cpp153 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; local
159 if (firstPtSet && lastPtSet && firstPt != lastPt) {
160 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY,
170 lastPt = pts[1];
176 lastPt = pts[2];
183 lastPt = pts[3];
187 if (firstPtSet && lastPtSet && firstPt != lastPt) {
188 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt
[all...]
H A DPathTest.cpp2543 SkPoint lastPt; local
2545 lastPt.set(0, 0);
2553 lastPt = lastMoveTo = pts[0];
2558 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2560 lastPt = pts[1];
2566 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2569 lastPt = pts[2];
2574 REPORTER_ASSERT(reporter, pts[0] == lastPt);
2578 lastPt = pts[3];
2583 lastPt
[all...]
/external/chromium_org/third_party/skia/experimental/StrokePathRenderer/
H A DGrStrokePathRenderer.cpp126 SkPoint *firstPt = verts, *lastPt = NULL; local
137 isOpen = (lastPt == NULL);
151 if (NULL == lastPt) {
165 const SkPoint* pt0 = &(lastPt[offset]);
240 lastPt = verts;
278 lastPt [0] += dir;
279 lastPt [1] += dir;
/external/skia/experimental/StrokePathRenderer/
H A DGrStrokePathRenderer.cpp126 SkPoint *firstPt = verts, *lastPt = NULL; local
137 isOpen = (lastPt == NULL);
151 if (NULL == lastPt) {
165 const SkPoint* pt0 = &(lastPt[offset]);
240 lastPt = verts;
278 lastPt [0] += dir;
279 lastPt [1] += dir;
/external/skia/src/pathops/
H A DSkOpSegment.cpp554 const SkPoint& lastPt = fPts[SkPathOpsVerbToPoints(fVerb)]; local
578 if ((pt == firstPt && newT == 0) || (span.fPt == lastPt && newT == 1)) {
2659 const SkPoint& lastPt = span->fPt;
2663 } while (SkDPoint::ApproximatelyEqual(span->fPt, lastPt) && (span->fT == endT || span->fTiny));
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpSegment.cpp558 const SkPoint& lastPt = fPts[SkPathOpsVerbToPoints(fVerb)]; local
582 if ((pt == firstPt && newT == 0) || (span.fPt == lastPt && newT == 1)) {
2736 const SkPoint& lastPt = span->fPt;
2740 } while (SkDPoint::ApproximatelyEqual(span->fPt, lastPt) && (span->fT == endT || span->fTiny));
/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);
1065 SkPoint lastPt; local
1066 SkAssertResult(path->getLastPt(&lastPt));
1067 if (lastPt.fX != xOff[0] || lastPt.fY != yOff[0]) {
1834 SkPoint lastPt local
[all...]
/external/chromium_org/third_party/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);
1067 SkPoint lastPt; local
1068 SkAssertResult(path->getLastPt(&lastPt));
1069 if (lastPt.fX != xOff[0] || lastPt.fY != yOff[0]) {
1740 SkPoint lastPt local
2169 direction_change(const SkPoint& lastPt, const SkVector& curPt, const SkVector& lastVec, const SkVector& curVec) argument
[all...]

Completed in 2719 milliseconds