x’ = cos(theta) * (cx – originX) – sin(theta) * (cy – originY) + originX y’ = sin(theta) * (cx – originX) + cos(theta) * (cy – originY) + originY