module ChunkyPNG::Canvas::Operations
def rotate_left!
-
(ChunkyPNG::Canvas)
- Itself, but rotated.
def rotate_left! new_pixels = [] (width - 1).downto(0) { |i| new_pixels += column(i) } replace_canvas!(height, width, new_pixels) end
(ChunkyPNG::Canvas)
- Itself, but rotated.
def rotate_left! new_pixels = [] (width - 1).downto(0) { |i| new_pixels += column(i) } replace_canvas!(height, width, new_pixels) end