DrawImage_Rotate_Ex ( slot, x, y, src_x, src_y, src_w, src_h, angle)

Draws a portion of an image to the current canvas rotated by a given angle.

Example: