/third_party/skia/tests/ |
D | SkPathRangeIterTest.cpp | 94 SkPoint lastPt = {0,0}; in DEF_TEST() local 100 lastPt = pathPts[0]; in DEF_TEST() 104 startPt = lastPt = pathPts[0]; in DEF_TEST() 107 REPORTER_ASSERT(r, pathPts[0] == lastPt); in DEF_TEST() 109 lastPt = pathPts[1]; in DEF_TEST() 112 REPORTER_ASSERT(r, pathPts[0] == lastPt); in DEF_TEST() 115 lastPt = pathPts[2]; in DEF_TEST() 118 REPORTER_ASSERT(r, pathPts[0] == lastPt); in DEF_TEST() 122 lastPt = pathPts[3]; in DEF_TEST() 125 REPORTER_ASSERT(r, pathPts[0] == lastPt); in DEF_TEST() [all …]
|
D | PathTest.cpp | 3241 SkPoint lastPt; in test_range_iter() local 3243 lastPt.set(0, 0); in test_range_iter() 3251 lastPt = lastMoveTo = pts[0]; in test_range_iter() 3256 REPORTER_ASSERT(reporter, pts[0] == lastPt); in test_range_iter() 3258 lastPt = pts[1]; in test_range_iter() 3264 REPORTER_ASSERT(reporter, pts[0] == lastPt); in test_range_iter() 3267 lastPt = pts[2]; in test_range_iter() 3272 REPORTER_ASSERT(reporter, pts[0] == lastPt); in test_range_iter() 3276 lastPt = pts[3]; in test_range_iter() 3280 lastPt = lastMoveTo; in test_range_iter()
|
/third_party/skia/docs/examples/ |
D | Path_rMoveTo.cpp | 17 SkPoint lastPt; 18 path.getLastPt(&lastPt); 19 canvas->drawString("start", lastPt.fX, lastPt.fY, paint);
|
D | Path_arcTo_2_b.cpp | 23 SkPoint lastPt; 24 (void) path.getLastPt(&lastPt); 27 SkPoint center = { lastPt.fX - radial.fY, lastPt.fY + radial.fX }; 28 canvas->drawLine(lastPt, center, tangentPaint);
|
D | Path_arcTo_2_a.cpp | 23 SkPoint lastPt; 24 (void) path.getLastPt(&lastPt); 27 SkPoint center = { lastPt.fX - radial.fY, lastPt.fY + radial.fX }; 29 canvas->drawLine(lastPt, center, tangentPaint);
|
/third_party/skia/samplecode/ |
D | SampleSimpleStroker.cpp | 62 bool getLastPt(SkPoint* lastPt) const { in getLastPt() 66 *lastPt = fPoints.back(); in getLastPt() 70 void setLastPt(SkPoint lastPt) { in setLastPt() argument 72 moveTo(lastPt); in setLastPt() 74 fPoints.back().set(lastPt.fX, lastPt.fY); in setLastPt()
|
/third_party/skia/src/pathops/ |
D | SkOpBuilder.cpp | 30 SkPoint lastPt; in ReversePath() local 31 SkAssertResult(path->getLastPt(&lastPt)); in ReversePath() 32 temp.moveTo(lastPt); in ReversePath()
|
D | SkOpSegment.h | 272 const SkPoint& lastPt() const { in lastPt() function
|
/third_party/skia/gm/ |
D | imagescalealigned.cpp | 120 SkPoint lastPt; in drawSets() local 124 lastPt = drawSet(canvas, set, samplings[k], paint); in drawSets() 129 canvas->translate(lastPt.x() + kSegLen, in drawSets()
|
/third_party/skia/src/core/ |
D | SkScan_Hairline.cpp | 572 SkPoint pts[4], firstPt, lastPt; in hair_path() local 586 firstPt = lastPt = pts[0]; in hair_path() 593 lastPt = pts[1]; in hair_path() 600 lastPt = pts[2]; in hair_path() 614 lastPt = pts[2]; in hair_path() 622 lastPt = pts[3]; in hair_path() 625 pts[0] = lastPt; in hair_path()
|
D | SkContourMeasure.cpp | 41 SkPoint lastPt; in SkContourMeasure_segTo() local 42 SkAssertResult(dst->getLastPt(&lastPt)); in SkContourMeasure_segTo() 43 dst->lineTo(lastPt); in SkContourMeasure_segTo() 150 const SkPoint& lastPt, SkScalar tolerance) { in conic_too_curvy() argument 151 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy()
|
D | SkPath.cpp | 511 bool SkPath::getLastPt(SkPoint* lastPt) const { in getLastPt() 516 if (lastPt) { in getLastPt() 517 *lastPt = fPathRef->atPoint(count - 1); in getLastPt() 521 if (lastPt) { in getLastPt() 522 lastPt->set(0, 0); in getLastPt() 1117 SkPoint lastPt; in arcTo() local 1120 } else if (!this->getLastPt(&lastPt) || in arcTo() 1121 !SkScalarNearlyEqual(lastPt.fX, pt.fX) || in arcTo() 1122 !SkScalarNearlyEqual(lastPt.fY, pt.fY)) { in arcTo() 1411 SkPoint lastPt; in addPath() local [all …]
|
/third_party/skia/include/core/ |
D | SkPath.h | 1372 bool getLastPt(SkPoint* lastPt) const;
|
/third_party/skia/tools/fiddle/ |
D | documumentation_examples_map.txt | 2591 bool getLastPt(SkPoint* lastPt) const;
|