colormap-scale-absolute

Synopsis

(colormap-scale-absolute colormap new-width new-height)

Parameters

  • colormap
  • new-width
  • new-height

Description

Side Effects

Return Value

A new scaled colormap is returned with the desired width and height.

Example

> (define cm (colormap-create 1024 768))
cm
> (colormap-scale-absolute cm 640 480)
#<colormap orow:-1 ocol:-1 xres:-1 yres:-1 h:640 w:480>
>