Archon::Render::Viewport Struct Reference

Inheritance diagram for Archon::Render::Viewport:

Inheritance graph
[legend]
Collaboration diagram for Archon::Render::Viewport:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void set (double left, double bottom, double width, double height)
 Change the properties of the viewport.

Static Public Member Functions

static Ref< Viewportcreate (Ref< View > v)
 Get a default viewport which corresponds to the entire screen.

Detailed Description

Definition at line 93 of file view.H.


Member Function Documentation

void Archon::Render::Viewport::set double  left,
double  bottom,
double  width,
double  height
[inline]
 

Change the properties of the viewport.

Parameters:
left left and right defines the lower left corner of the viewport relative to the associated window. 0 corresponds with the left edge or the bottom of the window. 1 corresponds with the right edge or the top of the window.
bottom See left.
width width and height defines the width and height of the viewport relative to the associated window. 1 designates a width or height equal to that of the associated window.
height See width.
This method is re-entrant/thread-safe.

Definition at line 119 of file view.H.


The documentation for this struct was generated from the following file:
Generated on Sun Jul 30 22:57:11 2006 for Archon by  doxygen 1.4.4