/external/skia/tests/ |
D | PathOpsExtendedTest.cpp | 57 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; in showPathData() local 63 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 64 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 74 lastPt = pts[1]; in showPathData() 80 lastPt = pts[2]; in showPathData() 87 lastPt = pts[2]; in showPathData() 94 lastPt = pts[3]; in showPathData() 98 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 99 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 109 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() [all …]
|
D | PathTest.cpp | 2839 SkPoint lastPt; in test_raw_iter() local 2841 lastPt.set(0, 0); in test_raw_iter() 2849 lastPt = lastMoveTo = pts[0]; in test_raw_iter() 2854 REPORTER_ASSERT(reporter, pts[0] == lastPt); in test_raw_iter() 2856 lastPt = pts[1]; in test_raw_iter() 2862 REPORTER_ASSERT(reporter, pts[0] == lastPt); in test_raw_iter() 2865 lastPt = pts[2]; in test_raw_iter() 2870 REPORTER_ASSERT(reporter, pts[0] == lastPt); in test_raw_iter() 2874 lastPt = pts[3]; in test_raw_iter() 2878 lastPt = lastMoveTo; in test_raw_iter()
|
/external/skia/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 114 SkPoint lastPt; in AddBeziers() local 115 fPath->getLastPt(&lastPt); in AddBeziers() 116 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) }; in AddBeziers()
|
/external/skia/gm/ |
D | imagescalealigned.cpp | 108 SkPoint lastPt; in drawSets() local 113 lastPt = drawSet(canvas, set, paint); in drawSets() 118 canvas->translate(lastPt.x() + kSegLen, in drawSets()
|
/external/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 268 for (int lastPt = count - 1, i = 0; i < count; lastPt = i++) { in Create() local 269 if (pts[lastPt] != pts[i]) { in Create() 270 SkVector v = pts[i] - pts[lastPt]; in Create()
|
/external/skia/src/core/ |
D | SkScan_Hairline.cpp | 521 SkPoint pts[4], firstPt, lastPt; in hair_path() local 531 firstPt = lastPt = pts[0]; in hair_path() 538 lastPt = pts[1]; in hair_path() 545 lastPt = pts[2]; in hair_path() 560 lastPt = pts[2]; in hair_path() 568 lastPt = pts[3]; in hair_path() 571 pts[0] = lastPt; in hair_path()
|
D | SkPathMeasure.cpp | 69 const SkPoint& lastPt) { in conic_too_curvy() argument 70 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy() 393 SkPoint lastPt; in seg_to() local 394 SkAssertResult(dst->getLastPt(&lastPt)); in seg_to() 395 dst->lineTo(lastPt); in seg_to()
|
D | SkPath.cpp | 659 bool SkPath::getLastPt(SkPoint* lastPt) const { in getLastPt() 664 if (lastPt) { in getLastPt() 665 *lastPt = fPathRef->atPoint(count - 1); in getLastPt() 669 if (lastPt) { in getLastPt() 670 lastPt->set(0, 0); in getLastPt() 1850 SkPoint lastPt = fLastPt; in consumeDegenerateSegments() local 1859 lastPt = fPts[0]; in consumeDegenerateSegments() 1875 if (!IsLineDegenerate(lastPt, fPts[0], exact)) { in consumeDegenerateSegments() 1891 if (!IsQuadDegenerate(lastPt, fPts[0], fPts[1], exact)) { in consumeDegenerateSegments() 1907 if (!IsCubicDegenerate(lastPt, fPts[0], fPts[1], fPts[2], exact)) { in consumeDegenerateSegments()
|
/external/skia/include/core/ |
D | SkPathMeasure.h | 117 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkPoint& lastPt);
|
D | SkPath.h | 886 bool getLastPt(SkPoint* lastPt) const;
|
/external/skia/src/pathops/ |
D | SkOpSpan.cpp | 167 segment->tail()->alignEnd(1, segment->lastPt()); in align() 185 SkASSERT(t ? segment->lastPt() == pt : segment->pts()[0] == pt); in alignEnd()
|
D | SkOpSegment.h | 256 const SkPoint& lastPt() const { in lastPt() function
|
D | SkPathOpsDebug.cpp | 1506 SkASSERT(t ? segment->lastPt() == pt : segment->pts()[0] == pt); in debugAlignedEnd() 1510 if ((t ? segment->lastPt() : segment->pts()[0]) != pt) { in debugAlignedEnd() 1525 if ((test->fT ? other->lastPt() : other->pts()[0]) != pt) { in debugAlignedEnd()
|