Implemented the affinetransformations into DrawnObject