Equalizer 1.0
|
A zoom specification with methods for manipulation. More...
#include <zoom.h>
Public Member Functions | |
Zoom () | |
Construct a new zoom specification set to 1, 1. | |
Zoom (const float x_, const float y_) | |
Construct a new zoom specification with default values. | |
bool | isValid () const |
void | validate () |
Enforce the zoom to be valid. | |
void | invalidate () |
Make the zoom factor invalid. | |
void | apply (const Zoom &rhs) |
Apply an additional zoom factor to this zoom. | |
Static Public Attributes | |
static const Zoom | NONE |
The zoom NONE (1,1) value. |
A zoom specification with methods for manipulation.
The x, y paramenters determine the factor by which the channel's rendering is zoomed.
eq::fabric::Zoom::Zoom | ( | ) | [inline] |
eq::fabric::Zoom::Zoom | ( | const float | x_, |
const float | y_ | ||
) | [inline] |
bool eq::fabric::Zoom::isValid | ( | ) | const [inline] |
const Zoom eq::fabric::Zoom::NONE [static] |
The zoom NONE (1,1) value.
Definition at line 68 of file zoom.h.
Referenced by eq::fabric::PixelViewport::apply(), and eq::fabric::PixelViewport::getZoom().