AffineTransform transform=AffineTransform.getTranslateInstance(translationX, translationY);
transform.scale(scaleX, scaleY);
Shape transformedShape = path.createTransformedShape(transform);
if( drawCommand==null ){
drawCommand=new DrawShapeCommand();
drawCommand.setPaint(PreferenceUtil.instance().getDrawGeomsLine());
handler.getContext().sendSyncCommand(drawCommand);
}
drawCommand.setShape(transformedShape);
handler.repaint();