anymap-yres-set!

Synopsis

(anymap-yres-set! anymap number)

Parameters

  • anymap: Either a bitmap, a greymap or a colormap
  • number: A number (exact or inexact)

Description

The procedures bitmap-yres-set!, greymap-yres-set! and colormap-yres-set! are aliases being bound to this primitive procedure for compatibilty.

Side Effects

The yres value of the anymap is set to number.

Return Value

The Y-resolution of the anymap just set is returned.

Example

> (define bitmap (bitmap-create 100 200))
bitmap
> (anymap-yres-set! bitmap 150)
150
> bitmap
#<bitmap orow:-1 ocol:-1 xres:-1 yres:150 h:100 w:200>
> (anymap-yres-set! bitmap 200.0)
200.0
> bitmap
#<bitmap orow:-1 ocol:-1 xres:-1 yres:200 h:100 w:200>
>