Google

/*
 * Return a copy of an image rotated in 90 degree increments
 *
 * Examples:
 *   increments = 3 # 90 * 3 degrees (eg 270 degrees)
 *   new_image = old_image.orientate increments
 *
 */
static VALUE image_orientate(VALUE self, VALUE val) {