private static class Dasher.LengthIterator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
Dasher.LengthIterator.Side |
Modifier and Type | Field and Description |
---|---|
private int |
cachedHaveLowAcceleration |
private float[] |
curLeafCtrlPolyLengths |
private int |
curveType |
private boolean |
done |
private float |
ERR |
private float[] |
flatLeafCoefCache |
private float |
lastSegLen |
private float |
lastT |
private float |
lenAtLastSplit |
private float |
lenAtLastT |
private float |
lenAtNextT |
private int |
limit |
private float |
minTincrement |
private float[] |
nextRoots |
private float |
nextT |
private float[][] |
recCurveStack |
private int |
recLevel |
private Dasher.LengthIterator.Side[] |
sides |
Constructor and Description |
---|
LengthIterator(int reclimit,
float err) |
Modifier and Type | Method and Description |
---|---|
private void |
goLeft() |
private void |
goToNextLeaf() |
private boolean |
haveLowAcceleration(float err) |
void |
initializeIterationOnCurve(float[] pts,
int type) |
float |
lastSegLen() |
float |
next(float len) |
private float |
onLeaf() |
private float[][] recCurveStack
private Dasher.LengthIterator.Side[] sides
private int curveType
private final int limit
private final float ERR
private final float minTincrement
private float nextT
private float lenAtNextT
private float lastT
private float lenAtLastT
private float lenAtLastSplit
private float lastSegLen
private int recLevel
private boolean done
private float[] curLeafCtrlPolyLengths
private int cachedHaveLowAcceleration
private float[] nextRoots
private float[] flatLeafCoefCache
public void initializeIterationOnCurve(float[] pts, int type)
private boolean haveLowAcceleration(float err)
public float next(float len)
public float lastSegLen()
private void goToNextLeaf()
private void goLeft()
private float onLeaf()