Support the option of rotating drawings by 90 and 180 degrees.