Next: Key mapping, Up: lepton-schematic API Reference [Contents][Index]
To use the functions described in this section, you will need to load
the (schematic window)
module.
Returns the page
currently being displayed for editing.
Sets the current page
to page.
Returns the current mouse pointer position in world coordinates in the form ‘(x . y)’. If the pointer is outside the display area, returns ‘#f’.
Snaps the given point to the current snap grid, i.e. returns the closest grid location to point. Expects a point in the form ‘(x . y)’, and returns a point in the same format.