AFPUnitConverter unitConv = paintingState.getUnitConverter();
int rotation = paintingState.getRotation();
int objX = (int) Math.round(at.getTranslateX());
int objY = (int) Math.round(at.getTranslateY());
int objWidth = Math.round(unitConv.mpt2units(width));
int objHeight = Math.round(unitConv.mpt2units(height));
AFPObjectAreaInfo objectAreaInfo = new AFPObjectAreaInfo(objX, objY, objWidth, objHeight,
resolution, rotation);
return objectAreaInfo;
}