Lines Matching refs:point
58 int nPoints = getNumberOfPoints(type) * 2; // 2 coordinates per point
129 // Calculate X and Y at 0.5 (We'll use this to reconstruct the control point later)
146 // estimated control point at t'=0.5
183 * Returns the end point of a given segment
187 * @param point the return array where the point will be stored
190 point) {
191 // start index of the end point for the segment type
193 point[0] = coords[pointIndex];
194 point[1] = coords[pointIndex + 1];
248 lastY, float t, @NonNull float[] point) {
250 point[0] = lastX + (coords[0] - lastX) * t;
251 point[1] = lastY + (coords[1] - lastY) * t;
268 point[0] = curve[2 + lastPointIndex];
269 point[1] = curve[2 + lastPointIndex + 1];
341 // This is the first segment, no previous point so initialize to 0, 0
389 * Returns the point where the current segment ends
391 public void getCurrentSegmentEnd(float[] point) {
392 point[0] = mLastPoint[0];
393 point[1] = mLastPoint[1];
445 // the cut point. Same if this is a SEG_MOVETO.
452 // We find at which offset the end point is located within the coords array and set
453 // a new end point to cut the segment short
469 float[] point = new float[2];
470 getPointAtLength(type, coords, mLastPoint[0], mLastPoint[1], t, point);
471 coords[0] = point[0];
472 coords[1] = point[1];