version 3.3

VRS::ResizeEvent Class Reference

Canvas Resize VRS Event. More...

#include <vrs/sg/resizeevent.h>

Inheritance diagram for VRS::ResizeEvent:

VRS::ConfigureEvent VRS::CanvasEvent VRS::Event VRS::SharedObj VRS::Visitable

List of all members.

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


Detailed Description

Canvas Resize VRS Event.

Constructor & Destructor Documentation

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.


Member Function Documentation

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   
)


Friends And Related Function Documentation

friend class Canvas [friend]

Reimplemented from VRS::ConfigureEvent.


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

Generated on Tue May 22 06:00:29 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact