*/
protected void updateBaseTransform() {
canvasSpaceHighlightShape =
transform.createTransformedShape(selectionHighlightShape);
// for event dispatching inside GVT with the right transformer
AbstractEventDispatcher dispatcher =
(AbstractEventDispatcher)userAgent.getEventDispatcher();
if (dispatcher != null) {
try {
if (gvtRoot != null) {
docBBox = transform.createTransformedShape(
gvtRoot.getBounds());
}
dispatcher.setBaseTransform(transform.createInverse());
} catch (NoninvertibleTransformException e) {
// this should not happen
throw new Error();
}
}