anymap-width

Synopsis

(anymap-width anymap)

Parameters

  • anymap: Either a bitmap, a greymap, a 16 bit graymap or a colormap

Description

The procedures bitmap-width, greymap-width, graymap-width and colormap-width are aliases being bound to this primitive procedure for compatibilty.

Side Effects

Return Value

The width of the anymap is returned.

Example

> (define bitmap (bitmap-create 100 100))
bitmap
> (define greymap (greymap-create 200 200))
greymap
> (define colormap (colormap-create 300 300))
colormap
> (anymap-width bitmap)
100
> (anymap-width greymap)
200
> (anymap-width colormap)
300
>