Rather than using built in canvas context rotation, scale, skew, and rotate, just do it with matrices on vertices.
Then draw a 4 sided polygon from the transformed points.
Rather than using built in canvas context rotation, scale, skew, and rotate, just do it with matrices on vertices.
Then draw a 4 sided polygon from the transformed points.