for (int i = 0; i < text.length(); i++) {
final char c = text.charAt(i);
final char mapped = font.mapChar(c);
- gen.escapeChar(mapped, sb);
+ PSGenerator.escapeChar(mapped, sb);
}
sb.append(") t");
writeln(sb.toString());
saveGraphicsState();
// multiply with current CTM
//writeln(CTMHelper.toPDFString(ctm) + " cm\n");
- final double matrix[] = ctm.toArray();
+ final double[] matrix = ctm.toArray();
concatMatrix(matrix);
// Set clip?
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
drawLine(sx - bwidth / 2, starty, sx - bwidth / 2, endy);