# File lib/gd2/image.rb, line 565 def copy_from_rotated(other, dst_x, dst_y, src_x, src_y, w, h, angle) SYM[:gdImageCopyRotated].call(image_ptr, other.image_ptr, dst_x.to_f, dst_y.to_f, src_x, src_y, w, h, angle.to_degrees.round) self end