19 package com.piro.bezier;
21 import java.util.ArrayList;
32 final ArrayList<Bezier> bezierSegs =
new ArrayList<Bezier>();
33 float[] coords =
new float[6];
34 float curveLength = 0f;
45 float offx = hist.lastPoint.
x;
46 float offy = hist.lastPoint.
y;
63 float offx = hist.lastPoint.
x;
64 float offy = hist.lastPoint.
y;
75 Bezier b =
new Bezier(hist.lastPoint.
x, hist.lastPoint.
y, coords, 1);
108 float offx = hist.lastPoint.
x;
109 float offy = hist.lastPoint.
y;
112 x2 + offx, y2 + offy,
128 Bezier b =
new Bezier(hist.lastPoint.
x, hist.lastPoint.
y, coords, 3);
138 float offx = hist.lastPoint.
x;
139 float offy = hist.lastPoint.
y;
148 float oldKx = hist.lastKnot.
x;
149 float oldKy = hist.lastKnot.
y;
150 float oldX = hist.lastPoint.
x;
151 float oldY = hist.lastPoint.
y;
153 float k1x = oldX * 2f - oldKx;
154 float k1y = oldY * 2f - oldKy;
163 Bezier b =
new Bezier(hist.lastPoint.
x, hist.lastPoint.
y, coords, 3);
173 float offx = hist.lastPoint.
x;
174 float offy = hist.lastPoint.
y;
188 Bezier b =
new Bezier(hist.lastPoint.
x, hist.lastPoint.
y, coords, 2);
198 float offx = hist.lastPoint.
x;
199 float offy = hist.lastPoint.
y;
214 boolean largeArcFlag,
boolean sweepFlag,
222 boolean largeArcFlag,
boolean sweepFlag,
void setLastKnot(float x, float y)
void setLastPoint(float x, float y)
void curvetoQuadraticAbs(float x1, float y1, float x, float y)
void curvetoCubicSmoothRel(float x2, float y2, float x, float y)
void linetoHorizontalAbs(float x)
void curvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y)
void linetoRel(float x, float y)
void linetoHorizontalRel(float x)
void curvetoCubicSmoothAbs(float x2, float y2, float x, float y)
void linetoVerticalRel(float y)
void linetoVerticalAbs(float y)
void arcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
void movetoAbs(float x, float y)
void curvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y)
void arcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
void movetoRel(float x, float y)
void curvetoQuadraticRel(float x1, float y1, float x, float y)
void linetoAbs(float x, float y)
void curvetoQuadraticSmoothRel(float x, float y)
void curvetoQuadraticSmoothAbs(float x, float y)