bitmap-rotate-right

Synopsis

(bitmap-rotate-right bitmap)

Parameters

  • bitmap

Description

This procedure rotates a bitmap 90 degrees clockwise.

Side Effects

Return Value

The resulting bitmap is returned.

Example

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

The resulting PNG file displays as follows:

bitmap-rotate-right.png