Searched defs:lastPt (Results 1 - 9 of 9) sorted by relevance
/external/skia/tests/ |
H A D | PathOpsExtendedTest.cpp | 77 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; local 83 if (firstPtSet && lastPtSet && firstPt != lastPt) { 84 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, 94 lastPt = pts[1]; 100 lastPt = pts[2]; 107 lastPt = pts[2]; 114 lastPt = pts[3]; 118 if (firstPtSet && lastPtSet && firstPt != lastPt) { 119 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt [all...] |
H A D | PathTest.cpp | 3223 SkPoint lastPt; local 3225 lastPt.set(0, 0); 3233 lastPt = lastMoveTo = pts[0]; 3238 REPORTER_ASSERT(reporter, pts[0] == lastPt); 3240 lastPt = pts[1]; 3246 REPORTER_ASSERT(reporter, pts[0] == lastPt); 3249 lastPt = pts[2]; 3254 REPORTER_ASSERT(reporter, pts[0] == lastPt); 3258 lastPt = pts[3]; 3262 lastPt [all...] |
/external/skia/gm/ |
H A D | imagescalealigned.cpp | 111 SkPoint lastPt; local 116 lastPt = drawSet(canvas, set, paint); 121 canvas->translate(lastPt.x() + kSegLen,
|
/external/skia/samplecode/ |
H A D | SampleAAGeometry.cpp | 202 SkPoint lastPt = { 0, 0 }; // init to avoid warning local 238 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2); 251 result.lineTo(lastPt = pts[1]); 254 result.quadTo(pts[1], lastPt = pts[2]); 257 result.conicTo(pts[1], lastPt = pts[2], weight); 260 result.cubicTo(pts[1], pts[2], lastPt = pts[3]); 1420 SkPoint pts[4], firstPt, lastPt; 1436 lastPt = pts[1]; 1444 lastPt [all...] |
/external/skia/src/pathops/ |
H A D | SkOpBuilder.cpp | 31 SkPoint lastPt; local 32 SkAssertResult(path->getLastPt(&lastPt)); 33 temp.moveTo(lastPt);
|
H A D | SkOpSegment.h | 276 const SkPoint& lastPt() const { function in class:SkOpSegment
|
/external/skia/src/utils/win/ |
H A D | SkDWriteGeometrySink.cpp | 114 SkPoint lastPt; local 115 fPath->getLastPt(&lastPt); 116 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) };
|
/external/skia/src/core/ |
H A D | SkPathMeasure.cpp | 45 SkPoint lastPt; local 46 SkAssertResult(dst->getLastPt(&lastPt)); 47 dst->lineTo(lastPt); 154 const SkPoint& lastPt) { 155 SkPoint midEnds = firstPt + lastPt; 153 conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt, const SkPoint& lastPt) argument
|
H A D | SkPath.cpp | 667 bool SkPath::getLastPt(SkPoint* lastPt) const { 672 if (lastPt) { 673 *lastPt = fPathRef->atPoint(count - 1); 677 if (lastPt) { 678 lastPt->set(0, 0); 1879 SkPoint lastPt = fLastPt; local 1888 lastPt = fPts[0]; 1904 if (!IsLineDegenerate(lastPt, fPts[0], exact)) { 1920 if (!IsQuadDegenerate(lastPt, fPts[0], fPts[1], exact)) { 1936 if (!IsCubicDegenerate(lastPt, fPt [all...] |
Completed in 176 milliseconds