#include <TdkPrintPreviewDisplay.h>
Inheritance diagram for TdkPrintPreviewDisplay:

Public Member Functions | |
| TdkPrintPreviewDisplay (TdkCanvas *canvas) | |
| virtual void | fit () |
| Zoom to a level where all objects in the map can be seen. | |
| virtual void | zoomArea (double x0, double y0, double x1, double y1) |
| Zoom to a given area. | |
| virtual void | zoom (double factor) |
| Zoom by a fixed factor maintaining the center location. | |
| virtual void | zoom (double xc, double yc, double factor) |
| Zoom by a fixed factor. | |
| virtual void | pan (double dx, double dy) |
| Pan (drag) the map in some direction. | |
| virtual void | draw () |
| Redraws the map (by getting all the information from the database again). | |
| virtual void | getCenter (double &x, double &y) |
Protected Member Functions | |
| virtual void | reset () |
| virtual void | drawPage () |
| virtual void | drawObjects () |
| virtual void | handleVSEvent (TdkRedrawEvent &event) |
| virtual void | handleVSEvent (TdkEvent &event) |
| virtual void | handleVSEvent (TdkPanEvent &event) |
| virtual void | handleVSEvent (TdkPanFeedbackEvent &event) |
| TdkPrintPreviewDisplay::TdkPrintPreviewDisplay | ( | TdkCanvas * | canvas | ) |
| void TdkPrintPreviewDisplay::fit | ( | ) | [virtual] |
| void TdkPrintPreviewDisplay::zoomArea | ( | double | x0, | |
| double | y0, | |||
| double | x1, | |||
| double | y1 | |||
| ) | [virtual] |
Zoom to a given area.
| x0 | X world coordinate of the location at the top left corner of the area. | |
| y0 | Y world coordinate of the location at the top left corner of the area. | |
| x1 | X world coordinate of the location at the bottom right corner of the area. | |
| y1 | Y world coordinate of the location at the bottom right corner of the area. |
Reimplemented from TdkDisplay.
| void TdkPrintPreviewDisplay::zoom | ( | double | factor | ) | [virtual] |
Zoom by a fixed factor maintaining the center location.
| factor | Zoom factor. |
Reimplemented from TdkDisplay.
| void TdkPrintPreviewDisplay::zoom | ( | double | xc, | |
| double | yc, | |||
| double | factor | |||
| ) | [virtual] |
Zoom by a fixed factor.
| xc | X world coordinate of the location to be centralized in the new zoom level. | |
| yc | Y world coordinate of the location to be centralized in the new zoom level. | |
| factor | Zoom factor. |
Reimplemented from TdkDisplay.
| void TdkPrintPreviewDisplay::pan | ( | double | dx, | |
| double | dy | |||
| ) | [virtual] |
Pan (drag) the map in some direction.
| dx | Horizontal deslocation in world coordinates. | |
| dy | Vertical deslocation in world coordinates. |
Reimplemented from TdkDisplay.
| void TdkPrintPreviewDisplay::draw | ( | ) | [virtual] |
Redraws the map (by getting all the information from the database again).
Reimplemented from TdkDisplay.
| void TdkPrintPreviewDisplay::getCenter | ( | double & | x, | |
| double & | y | |||
| ) | [virtual] |
Reimplemented from TdkDisplay.
| void TdkPrintPreviewDisplay::reset | ( | ) | [protected, virtual] |
| void TdkPrintPreviewDisplay::drawPage | ( | ) | [protected, virtual] |
| void TdkPrintPreviewDisplay::drawObjects | ( | ) | [protected, virtual] |
| void TdkPrintPreviewDisplay::handleVSEvent | ( | TdkRedrawEvent & | event | ) | [protected, virtual] |
| void TdkPrintPreviewDisplay::handleVSEvent | ( | TdkEvent & | event | ) | [protected, virtual] |
Reimplemented from TdkDisplay.
| void TdkPrintPreviewDisplay::handleVSEvent | ( | TdkPanEvent & | event | ) | [protected, virtual] |
| void TdkPrintPreviewDisplay::handleVSEvent | ( | TdkPanFeedbackEvent & | event | ) | [protected, virtual] |
1.5.2