Perspective(3I) | InterViews Reference Manual | Perspective(3I) |
Perspective - visible portion of an interactor
#include <InterViews/perspective.h>
A perspective object describes which part of an interactor's total display area is visible in the interactor's canvas. The main use of perspectives is for scrolling, panning, and zooming interactors. The member variables (x0, y0) define the origin of the interactor's display area; width and height define the total height of the area. The member variables (curx, cury) define the lower-left corner of the interactor's canvas relative to the total area; curwidth and curheight define how much of the total area is displayed in the canvas.
The member variables sx, sy, lx, and ly specify small and large increments in each dimension. These increments are used by a scroller to implement line and page scrolling.
Adjuster(3I), Interactor(3I), Panner(3I), Scroller(3I)
15 June 1987 | InterViews |