#include <Zoom.h>
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. |
|
Resets the zoom. Sets all the zooming parameters to the standard value (100%). |
|
Zooms in/out the scrollview.
|