Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

viewport(3i) [debian man page]

Viewport(3I)						    InterViews Reference Manual 					      Viewport(3I)

NAME
Viewport - scrollable view SYNOPSIS
#include <InterViews/viewport.h> DESCRIPTION
Viewport is a subclass of MonoScene that allocates its component exactly as much space as it wants (determined from its shape). This space will be clipped to the viewport's size and the viewport maintains a perspective to adjust the portion of the component that is actually displayed. If the component is smaller than the viewport's canvas, then the viewport background will be filled with a light gray pattern. PUBLIC OPERATIONS
Viewport(Interactor* = nil, Alignment = Center) Construct a new viewport. If the interactor is not nil, it is inserted as the viewport's component. The second parameter deter- mines where the component is placed relative to the viewport. Insert(Interactor*) Set the component interactor. void Change(Interactor*) A viewport does not propagate changes. Thus, if the component's shape changes the viewport simply resizes the component according to the new shape. void Remove(Interactor*) Take out the component interactor. virtual void Adjust(Perspective&) Change the viewport's perspective to the given one. This operation will cause the desired area of the component to be drawn. void AdjustTo(float px, float py, float zx, float zy) void AdjustBy(float dpx, float dpy, float dzx, float dzy) void ScrollTo(float px, float py) void ScrollXTo(float px) void ScrollYTo(float py) void ScrollBy(float dpx, float dpy) void ScrollXBy(float dpx) void ScrollYBy(float dpy) void ZoomTo(float zx, float zy) void ZoomXTo(float zx) void ZoomYTo(float zy) void ZoomBy(float dzx, float dzy) void ZoomXBy(float dzx) void ZoomYBy(float dzy) Short-hand operations for explicit manipulation of the viewport's perspective. float XPos() float YPos() float XMag() float YMag() Short-hand for retrieving information about the current perspective. SEE ALSO
Perspective(3I), Scene(3I), Shape(3I) InterViews 10 February 1988 Viewport(3I)

Check Out this Related Man Page

wxGraphicsMatrix(3erl)					     Erlang Module Definition					    wxGraphicsMatrix(3erl)

NAME
wxGraphicsMatrix - See external documentation: wxGraphicsMatrix. DESCRIPTION
See external documentation: wxGraphicsMatrix . This class is derived (and can use functions) from: wxGraphicsObject DATA TYPES
wxGraphicsMatrix() : An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes. EXPORTS
concat(This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> ok See external documentation . get(This::wxGraphicsMatrix()) -> {A::float(), B::float(), C::float(), D::float(), Tx::float(), Ty::float()} See external documentation . getNativeMatrix(This::wxGraphicsMatrix()) -> ok See external documentation . invert(This::wxGraphicsMatrix()) -> ok See external documentation . isEqual(This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> bool() See external documentation . isIdentity(This::wxGraphicsMatrix()) -> bool() See external documentation . rotate(This::wxGraphicsMatrix(), Angle::float()) -> ok See external documentation . scale(This::wxGraphicsMatrix(), XScale::float(), YScale::float()) -> ok See external documentation . translate(This::wxGraphicsMatrix(), Dx::float(), Dy::float()) -> ok See external documentation . set(This::wxGraphicsMatrix()) -> ok Equivalent to set(This, []) . set(This::wxGraphicsMatrix(), Options::[Option]) -> ok Types Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()} See external documentation . transformPoint(This::wxGraphicsMatrix()) -> {X::float(), Y::float()} See external documentation . transformDistance(This::wxGraphicsMatrix()) -> {Dx::float(), Dy::float()} See external documentation . AUTHORS
<> wxErlang 0.98.9 wxGraphicsMatrix(3erl)
Man Page