Home
last modified time | relevance | path

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

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
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()
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 …]
DStepRenderer.java34 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) { in appendToPath() argument
37 path.lineTo(thisPoint.x, lastPoint.y); in appendToPath()
/external/skia/src/gpu/tessellate/
DGrPathTessellator.cpp299 SkPoint lastPoint = startPoint; in prepare() local
303 startPoint = lastPoint = pts[0]; in prepare()
309 lastPoint = pts[1]; in prepare()
313 lastPoint = pts[2]; in prepare()
317 lastPoint = pts[3]; in prepare()
321 lastPoint = pts[2]; in prepare()
327 if (lastPoint != startPoint) { in prepare()
328 GrPathUtils::convertLineToCubic(lastPoint, startPoint, vertexData + fPatchVertexCount); in prepare()
DGrStrokeIterator.h315 SkPoint lastPoint = lastPts[SkPathPriv::PtsInIter((unsigned)lastVerb) - 1]; in fillSquareCapPoints() local
316 fEndingCapPts = {lastPoint, lastPoint + lastTangent}; in fillSquareCapPoints()
/external/skia/tests/
DTriangulatingPathRendererTests.cpp886 SkPoint startPoint{}, lastPoint{}; in verify_simple_inner_polygons() local
890 if (lastPoint != startPoint) { in verify_simple_inner_polygons()
891 add_edge(innerFanEdges, lastPoint, startPoint); in verify_simple_inner_polygons()
893 lastPoint = startPoint = pts[0]; in verify_simple_inner_polygons()
896 lastPoint = startPoint; in verify_simple_inner_polygons()
899 lastPoint = pts[1]; in verify_simple_inner_polygons()
903 lastPoint = pts[2]; in verify_simple_inner_polygons()
906 lastPoint = pts[3]; in verify_simple_inner_polygons()
909 if (pts[0] != lastPoint) { in verify_simple_inner_polygons()
910 add_edge(innerFanEdges, pts[0], lastPoint); in verify_simple_inner_polygons()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DCachedPathIteratorFactory.java391 float lastPoint[] = new float[2]; in jumpToSegment() local
399 lastPoint[0], in jumpToSegment()
400 lastPoint[1], in jumpToSegment()
418 getShapeEndPoint(mTypes[mNextIndex], mCoordinates[mNextIndex], lastPoint); in jumpToSegment()
/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/skia/src/gpu/ops/
DGrDefaultPathRenderer.cpp297 void needSpace(int vertsNeeded, int indicesNeeded = 0, const SkPoint* lastPoint = nullptr) { in needSpace() argument
312 if (lastPoint) { in needSpace()
313 SkASSERT(*(fCurVert - 1) == *lastPoint); in needSpace()
325 if (lastPoint) { in needSpace()
330 *(fCurVert++) = *lastPoint; in needSpace()
DGrAAConvexTessellator.cpp752 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { in createInsetRing()
770 bool dupPrev = duplicate_pt(newPt, fCandidateVerts.lastPoint()); in createInsetRing()
782 … bool dupPrevVsNext = duplicate_pt(fCandidateVerts.firstPoint(), fCandidateVerts.lastPoint()); in createInsetRing()
926 if (this->numPts() > 0 && duplicate_pt(p, this->lastPoint())) { in lineTo()
939 if (duplicate_pt(p, this->lastPoint())) { in lineTo()
995 SkPoint lastPoint = *(quads++); in conicTo() local
999 quadPts[0] = lastPoint; in conicTo()
1003 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/gpu/ops/
DGrAAConvexTessellator.cpp736 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { in createInsetRing()
754 bool dupPrev = duplicate_pt(newPt, fCandidateVerts.lastPoint()); in createInsetRing()
766 … bool dupPrevVsNext = duplicate_pt(fCandidateVerts.firstPoint(), fCandidateVerts.lastPoint()); in createInsetRing()
910 if (this->numPts() > 0 && duplicate_pt(p, this->lastPoint())) { in lineTo()
922 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/cldr/tools/java/org/unicode/cldr/test/
DTestMetazones.java294 long lastPoint = Long.MIN_VALUE; in getDifferencesOverRange() local
296 if (lastPoint != Long.MIN_VALUE) { in getDifferencesOverRange()
297 long start = lastPoint; in getDifferencesOverRange()
325 lastPoint = point; in getDifferencesOverRange()
/external/skia/src/core/
DSkScan_AntiPath.cpp614 SkPoint lastPoint = path.getPoint(0); in compute_complexity() local
617 sumLength += SkPoint::Distance(lastPoint, point); in compute_complexity()
618 lastPoint = point; in compute_complexity()
/external/skqp/src/core/
DSkScan_AntiPath.cpp616 SkPoint lastPoint = path.getPoint(0); in compute_complexity() local
619 sumLength += SkPoint::Distance(lastPoint, point); in compute_complexity()
620 lastPoint = point; in compute_complexity()
/external/skia/src/utils/
DSkShadowTessellator.cpp831 SkPoint lastPoint = *(quads++); in handleConic() local
835 quadPts[0] = lastPoint; in handleConic()
839 lastPoint = quadPts[2]; in handleConic()
/external/skqp/src/utils/
DSkShadowTessellator.cpp827 SkPoint lastPoint = *(quads++); in handleConic() local
831 quadPts[0] = lastPoint; in handleConic()
835 lastPoint = quadPts[2]; in handleConic()