draw with affine transformation