mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #207: Zoom to Cursor (Zoom Anchoring)
This commit is contained in:
@ -254,7 +254,8 @@ public:
|
||||
/// Sets the zoom. Tries to preserve current offsets (so the current visible
|
||||
/// area will be visible after the zoom).
|
||||
/// \param zoom New zoom
|
||||
void zoom(PDFReal zoom);
|
||||
/// \param widgetPosition Position of the mouse during zooming
|
||||
void zoom(PDFReal zoom, std::optional<QPointF> widgetPosition = std::nullopt);
|
||||
|
||||
enum class ZoomHint
|
||||
{
|
||||
|
Reference in New Issue
Block a user