| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/resizeevent.h>

Public Member Functions | |
| ResizeEvent (Canvas *canvas, unsigned int width=0, unsigned int height=0, double aspectRatio=1.0) | |
| unsigned int | width () const |
| unsigned int | height () const |
| double | aspectRatio () const |
| VRS_TYPEINFO (ResizeEvent, ConfigureEvent) | |
Friends | |
| class | Canvas |
| VRS::ResizeEvent::ResizeEvent | ( | Canvas * | canvas, | |
| unsigned int | width = 0, |
|||
| unsigned int | height = 0, |
|||
| double | aspectRatio = 1.0 | |||
| ) |
`aspectRatio' is the ratio width/height of a pixel on the screen.
| unsigned int VRS::ResizeEvent::width | ( | ) | const [inline] |
| unsigned int VRS::ResizeEvent::height | ( | ) | const [inline] |
| double VRS::ResizeEvent::aspectRatio | ( | ) | const [inline] |
| VRS::ResizeEvent::VRS_TYPEINFO | ( | ResizeEvent | , | |
| ConfigureEvent | ||||
| ) |
friend class Canvas [friend] |
Reimplemented from VRS::ConfigureEvent.