(anymap-xres-set! anymap number)
The procedures bitmap-xres-set!, greymap-xres-set!, graymap-xres-set! and colormap-xres-set! are aliases being bound to this primitive procedure for compatibilty.
The xres value of the anymap is set to number.
The X-resolution of the anymap just set is returned.
> (define bitmap (bitmap-create 100 200))
bitmap
> (anymap-xres-set! bitmap 150)
150
> bitmap
#<bitmap orow:-1 ocol:-1 xres:150 yres:-1 h:100 w:200>
> (anymap-xres-set! bitmap 200.0)
200.0
> bitmap
#<bitmap orow:-1 ocol:-1 xres:200 yres:-1 h:100 w:200>
>