* @return transformed Point
*/
public Point transformPoint(Point p, CTM ctm) {
Rectangle2D r = new Rectangle2D.Double(p.x, p.y, 0, 0);
CTM nctm = refineCTM(ctm);
r = nctm.transform(r);
return new Point((int) r.getX(), (int) r.getY());
}
/**
* Transforms point (x, y) using <code>resultCTM</code>.