}
- // FIXME: hack
- private String toString;
- private Path(String s) { this.toString = s; }
- public String toString() { return toString; }
-
public static class Tokenizer {
// FIXME: check array bounds exception for improperly terminated string
String s;
/** Creates a concrete vector path transformed through the given matrix. */
public void addTo(Polygon ret, Affine a) {
- long start = System.currentTimeMillis(); try {
float NUMSTEPS = 5; // FIXME
ret.x[0] = a.multiply_px(x[0], y[0]);
ret.y[0] = a.multiply_py(x[0], y[0]);
}
}
- } finally { Scheduler.rasterizing += System.currentTimeMillis() - start; }
}
protected void parseSingleCommandAndArguments(Tokenizer t, char command, boolean relative) {