Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Zoom Class Reference

Class providing zooming information and methods. More...

#include <Zoom.h>

List of all members.

Public Methods

 Zoom ()
 Constructor.

void setScale (double s)
 Sets the current scale.

double getScale ()
 Returns the current scale.

void zoom (ScrollView *, QPoint, bool)
 Zooms in/out the scrollview. More...

void resetZoom (ScrollView *)
 Resets the zoom. More...


Private Attributes

double scale
 Scale factor.


Detailed Description

Class providing zooming information and methods.


Member Function Documentation

void Zoom::resetZoom ScrollView * sview
 

Resets the zoom.

Sets all the zooming parameters to the standard value (100%).

void Zoom::zoom ScrollView * sview,
QPoint p,
bool zoomin
 

Zooms in/out the scrollview.

Parameters:
sview   pointer to scrollview
p   point which will be used as new center
zoomin   if TRUE zooms in otherwise zooms out


The documentation for this class was generated from the following files:
Generated at Fri Apr 11 22:37:18 2003 for Qfsm by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001