nearest-aligned-viewport

Name

nearest-aligned-viewport -- Compute the nearest valid integral viewport position to POS.

Synopsis

(nearest-aligned-viewport pos)

Description

Compute the nearest valid integral viewport position to POS. POS is a list of x and y virtual coordinates in that order. The viewport coordinates returned will be in the same format and will be a integral multiples of the desk size.

Implementation Notes

Module: (app scwm virtual)

Defined in scheme/virtual.scm at line 47 (CVS log)