private boolean inMarkedContentSequence;
private boolean inArtifactMode;
+ private AffineTransform transform;
/**
* Main constructor. Creates a new PDF stream and additional helper classes for text painting
this.colorHandler = new PDFColorHandler(document.getResources());
}
+ public AffineTransform getAffineTransform() {
+ return transform;
+ }
+
/**
* Returns the applicable resource context for the generator.
* @return the resource context
* @param transform the transformation matrix (in points)
*/
public void concatenate(AffineTransform transform) {
+ this.transform = transform;
if (!transform.isIdentity()) {
currentState.concatenate(transform);
currentStream.add(CTMHelper.toPDFString(transform, false) + " cm\n");