Mac OS 9
TQ3CameraViewPort Struct Reference

#include <QD3DCamera.h>

Data Fields

TQ3Point2D origin
 
float width
 
float height
 

Detailed Description

Viewport specification. Origin is (-1, 1), and corresponds to the upper left-hand corner; width and height maximum is (2.0, 2.0), corresponding to the lower left-hand corner of the window. The TQ3Viewport specifies a part of the viewPlane that gets displayed on the window that is to be drawn. Normally, it is set with an origin of (-1.0, 1.0), and a width and height of both 2.0, specifying that the entire window is to be drawn. If, for example, an exposure event of the window exposed the right half of the window, you would set the origin to (0, 1), and the width and height to (1.0) and (2.0), respectively.


The documentation for this struct was generated from the following file: