applyPaint(getPaint(), false);
applyStroke(getStroke());
- PathIterator iter = s.getPathIterator(getTransform());
+ AffineTransform trans = getTransform();
+ double[] tranvals = new double[6];
+ trans.getMatrix(tranvals);
+ currentStream.write(PDFNumber.doubleOut(tranvals[0]) + " "
+ + PDFNumber.doubleOut(tranvals[1]) + " "
+ + PDFNumber.doubleOut(tranvals[2]) + " "
+ + PDFNumber.doubleOut(tranvals[3]) + " "
+ + PDFNumber.doubleOut(tranvals[4]) + " "
+ + PDFNumber.doubleOut(tranvals[5]) + " cm\n");
+
+ PathIterator iter = s.getPathIterator(new AffineTransform());
while (!iter.isDone()) {
double vals[] = new double[6];
int type = iter.currentSegment(vals);