|
|
@ -148,8 +148,8 @@ public:
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Sets the horizontal and vertical zoom levels.
|
|
|
|
* Sets the horizontal and vertical zoom levels.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param hzoomQt::Horizontal zoom level.
|
|
|
|
* @param hzoom Horizontal zoom level.
|
|
|
|
* @param vzoomQt::Vertical zoom level.
|
|
|
|
* @param vzoom Vertical zoom level.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* If reimplementing, you must call this base implementation.
|
|
|
|
* If reimplementing, you must call this base implementation.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -228,7 +228,7 @@ protected slots:
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param viewXQt::Horizontal position in view coordinates.
|
|
|
|
* @param viewX Horizontal position in view coordinates.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @returns viewX transformed to document coordinates, based on the
|
|
|
|
* @returns viewX transformed to document coordinates, based on the
|
|
|
|
* origin() and zoomLevelX().
|
|
|
|
* origin() and zoomLevelX().
|
|
|
@ -236,7 +236,7 @@ public:
|
|
|
|
double transformViewToDocX (double viewX) const;
|
|
|
|
double transformViewToDocX (double viewX) const;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param viewYQt::Vertical position in view coordinates.
|
|
|
|
* @param viewY Vertical position in view coordinates.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @returns viewY transformed to document coordinates, based on the
|
|
|
|
* @returns viewY transformed to document coordinates, based on the
|
|
|
|
* origin() and zoomLevelY().
|
|
|
|
* origin() and zoomLevelY().
|
|
|
@ -265,7 +265,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param docXQt::Horizontal position in document coordinates.
|
|
|
|
* @param docX Horizontal position in document coordinates.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @returns docX transformed to view coordinates, based on the origin()
|
|
|
|
* @returns docX transformed to view coordinates, based on the origin()
|
|
|
|
* and zoomLevelX().
|
|
|
|
* and zoomLevelX().
|
|
|
@ -273,7 +273,7 @@ public:
|
|
|
|
double transformDocToViewX (double docX) const;
|
|
|
|
double transformDocToViewX (double docX) const;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param docYQt::Vertical position in document coordinates.
|
|
|
|
* @param docY Vertical position in document coordinates.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @returns docY transformed to view coordinates, based on the origin()
|
|
|
|
* @returns docY transformed to view coordinates, based on the origin()
|
|
|
|
* and zoomLevelY().
|
|
|
|
* and zoomLevelY().
|
|
|
|