bitmap-rotate-left

Synopsis

(bitmap-rotate-left bitmap)

Parameters

  • bitmap

Description

This procedure rotates a bitmap 90 degrees counterclockwise.

Side Effects

Return Value

The resulting bitmap is returned.

Example

> (define x (string->bitmap "1234"))
x
> (define y (bitmap-rotate-left x))
y
> (bitmap-writepng y "bitmap-rotate-left.png")
ok
>

The resulting PNG file displays as follows:

bitmap-rotate-left.png