Geometry of the viewing region. More...
#include <viewport.h>
Classes | |
| class | ViewportPrivate |
Public Slots | |
| void | setLeft (float left) |
| void | setWidth (float width) |
| void | setBottom (float bottom) |
| void | setHeight (float height) |
| void | setSize (float left, float width, float bottom, float height) |
| void | update () |
Public Member Functions | |
| Viewport (QObject *parent=0) | |
| virtual | ~Viewport () |
| float | left () |
| float | width () |
| float | bottom () |
| float | height () |
| float | aspectRatio () |
Geometry of the viewing region.
The viewport describes the properties of the "window" which is used to view the scene.
Definition at line 33 of file viewport.h.
| Viewport::Viewport | ( | QObject * | parent = 0 |
) | [explicit] |
Definition at line 42 of file viewport.cpp.
| Viewport::~Viewport | ( | ) | [virtual] |
Definition at line 49 of file viewport.cpp.
| float Viewport::aspectRatio | ( | ) |
Definition at line 79 of file viewport.cpp.
| float Viewport::bottom | ( | ) |
Definition at line 61 of file viewport.cpp.
| float Viewport::height | ( | ) |
Definition at line 73 of file viewport.cpp.
| float Viewport::left | ( | ) |
Definition at line 55 of file viewport.cpp.
| void Viewport::setBottom | ( | float | bottom | ) | [slot] |
Definition at line 91 of file viewport.cpp.
| void Viewport::setHeight | ( | float | height | ) | [slot] |
Definition at line 103 of file viewport.cpp.
| void Viewport::setLeft | ( | float | left | ) | [slot] |
Definition at line 85 of file viewport.cpp.
| void Viewport::setSize | ( | float | left, | |
| float | width, | |||
| float | bottom, | |||
| float | height | |||
| ) | [slot] |
Definition at line 109 of file viewport.cpp.
| void Viewport::setWidth | ( | float | width | ) | [slot] |
Definition at line 97 of file viewport.cpp.
| void Viewport::update | ( | ) | [slot] |
Definition at line 122 of file viewport.cpp.
| float Viewport::width | ( | ) |
Definition at line 67 of file viewport.cpp.
1.6.3