Home
last modified time | relevance | path

Searched refs:lastPoint (Results 1 – 10 of 10) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DLineAndPointRenderer.java73 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) { in appendToPath() argument
81 PointF lastPoint = null; in drawSeries() local
118 if(lastPoint != null) { in drawSeries()
119 appendToPath(path, thisPoint, lastPoint); in drawSeries()
122 lastPoint = thisPoint; in drawSeries()
124 if(lastPoint != null) { in drawSeries()
125 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatter); in drawSeries()
128 lastPoint = null; in drawSeries()
132 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatter); in drawSeries()
155 …ath(Canvas canvas, RectF plotArea, Path path, PointF firstPoint, PointF lastPoint, LineAndPointFor… in renderPath() argument
[all …]
DBezierLineAndPointRenderer.java32 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) { in appendToPath() argument
37 mid.set((lastPoint.x + thisPoint.x) / 2, (lastPoint.y + thisPoint.y) / 2); in appendToPath()
38 path.quadTo((lastPoint.x + mid.x) / 2, lastPoint.y, mid.x, mid.y); in appendToPath()
40 path.quadTo((mid.x + thisPoint.x) / 2, lastPoint.y, thisPoint.x, thisPoint.y); in appendToPath()
DStepRenderer.java34 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) { in appendToPath() argument
37 path.lineTo(thisPoint.x, lastPoint.y); in appendToPath()
/external/replicaisland/tools/
DExtractPoints.js73 var lastPoint = points[(y + 1) % points.length]; variable
80 edge.endX = lastPoint.anchor[0];
81 edge.endY = lastPoint.anchor[1];
/external/skqp/src/gpu/ops/
DGrAAConvexTessellator.cpp725 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { in createInsetRing()
743 bool dupPrev = duplicate_pt(newPt, fCandidateVerts.lastPoint()); in createInsetRing()
755 … bool dupPrevVsNext = duplicate_pt(fCandidateVerts.firstPoint(), fCandidateVerts.lastPoint()); in createInsetRing()
903 if (this->numPts() > 0 && duplicate_pt(p, this->lastPoint())) { in lineTo()
916 if (duplicate_pt(p, this->lastPoint())) { in lineTo()
974 SkPoint lastPoint = *(quads++); in conicTo() local
978 quadPts[0] = lastPoint; in conicTo()
982 lastPoint = quadPts[2]; in conicTo()
DGrAAConvexTessellator.h54 const SkPoint& lastPoint() const { return fPts.top(); } in lastPoint() function
76 const SkPoint& lastPoint() const { return fPts.top().fPt; } in lastPoint() function
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp725 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { in createInsetRing()
743 bool dupPrev = duplicate_pt(newPt, fCandidateVerts.lastPoint()); in createInsetRing()
755 … bool dupPrevVsNext = duplicate_pt(fCandidateVerts.firstPoint(), fCandidateVerts.lastPoint()); in createInsetRing()
903 if (this->numPts() > 0 && duplicate_pt(p, this->lastPoint())) { in lineTo()
916 if (duplicate_pt(p, this->lastPoint())) { in lineTo()
974 SkPoint lastPoint = *(quads++); in conicTo() local
978 quadPts[0] = lastPoint; in conicTo()
982 lastPoint = quadPts[2]; in conicTo()
DGrAAConvexTessellator.h54 const SkPoint& lastPoint() const { return fPts.top(); } in lastPoint() function
76 const SkPoint& lastPoint() const { return fPts.top().fPt; } in lastPoint() function
/external/skqp/src/utils/
DSkShadowTessellator.cpp230 SkPoint lastPoint = *(quads++); in handleConic() local
234 quadPts[0] = lastPoint; in handleConic()
238 lastPoint = quadPts[2]; in handleConic()
1216 const SkPoint& lastPoint = fPathPolygon[fPathPolygon.count() - 1]; in handleLine() local
1217 if (duplicate_pt(p, lastPoint)) { in handleLine()
1220 SkScalar quadArea = lastPoint.cross(p); in handleLine()
1221 fCentroid.fX += (p.fX + lastPoint.fX) * quadArea; in handleLine()
1222 fCentroid.fY += (p.fY + lastPoint.fY) * quadArea; in handleLine()
/external/skia/src/utils/
DSkShadowTessellator.cpp236 SkPoint lastPoint = *(quads++); in handleConic() local
240 quadPts[0] = lastPoint; in handleConic()
244 lastPoint = quadPts[2]; in handleConic()
1236 const SkPoint& lastPoint = fPathPolygon[fPathPolygon.count() - 1]; in handleLine() local
1237 if (duplicate_pt(p, lastPoint)) { in handleLine()
1240 SkScalar quadArea = lastPoint.cross(p); in handleLine()
1241 fCentroid.fX += (p.fX + lastPoint.fX) * quadArea; in handleLine()
1242 fCentroid.fY += (p.fY + lastPoint.fY) * quadArea; in handleLine()