Searched defs:lastPoint (Results 1 - 5 of 5) sorted by relevance
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
H A D | BezierLineAndPointRenderer.java | 32 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
argument 37 mid.set((lastPoint.x + thisPoint.x) / 2, (lastPoint.y + thisPoint.y) / 2);
38 path.quadTo((lastPoint.x + mid.x) / 2, lastPoint.y, mid.x, mid.y);
40 path.quadTo((mid.x + thisPoint.x) / 2, lastPoint.y, thisPoint.x, thisPoint.y);
|
H A D | StepRenderer.java | 34 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
argument 37 path.lineTo(thisPoint.x, lastPoint.y);
39 //canvas.drawPoint(point.x, lastPoint.y, format.getVertexPaint());
41 //canvas.drawLine(point.x, lastPoint.y, point.x, point.y, format.getLinePaint());
47 private PointF lastPoint;
117 lastPoint = null;
121 if (lastPoint != null) {
127 canvas.drawLine(lastPoint.x, lastPoint.y, point.x, lastPoint [all...] |
H A D | LineAndPointRenderer.java | 73 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
argument 81 PointF lastPoint = null;
102 //appendToPath(path, thisPoint, lastPoint);
118 if(lastPoint != null) {
119 appendToPath(path, thisPoint, lastPoint);
122 lastPoint = thisPoint;
124 if(lastPoint != null) {
125 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatter);
128 lastPoint = null;
132 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatte 155 renderPath(Canvas canvas, RectF plotArea, Path path, PointF firstPoint, PointF lastPoint, LineAndPointFormatter formatter) argument [all...] |
/external/skia/src/gpu/ops/ |
H A D | GrAAConvexTessellator.h | 54 const SkPoint& lastPoint() const { return fPts.top(); } function in class:GrAAConvexTessellator 76 const SkPoint& lastPoint() const { return fPts.top().fPt; } function in class:GrAAConvexTessellator::CandidateVerts
|
/external/skia/src/utils/ |
H A D | SkShadowTessellator.cpp | 224 SkPoint lastPoint = *(quads++); local 228 quadPts[0] = lastPoint; 232 lastPoint = quadPts[2]; 1111 const SkPoint& lastPoint = fPathPolygon[fPathPolygon.count() - 1]; local 1112 if (duplicate_pt(p, lastPoint)) { 1115 SkScalar quadArea = lastPoint.cross(p); 1116 fCentroid.fX += (p.fX + lastPoint.fX) * quadArea; 1117 fCentroid.fY += (p.fY + lastPoint.fY) * quadArea;
|
Completed in 124 milliseconds