rectWorld.preciseX = 12.0;
rectWorld.preciseY = -25.0;
rectWorld.preciseWidth = 150.0;
rectWorld.preciseHeight = 150.0;
PrecisionPoint pointWorld =
new PrecisionPoint(rectWorld.preciseX, rectWorld.preciseY);
PrecisionDimension dimWorld =
new PrecisionDimension(rectWorld.preciseWidth, rectWorld.preciseHeight);
PrecisionPoint pointDevice = trans.transformPoint(pointWorld);
PrecisionDimension dimDevice = trans.transformDimension(dimWorld);
PrecisionRectangle rectDevice = trans.transformRect(rectWorld);
// The transformed location & dimension should be (16,70) & (75,-300)
}