mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
This parameter allows defining which point should remain fixed while scaling the document. It can be used, for example, to implement "zoom around the cursor" or "zoom around pinch center". The logic was previously implemented in `web/app.js`, but moving it to the viewer scaling utilities themselves makes it easier to implement similar zooming functionalities in other embedders. |
||
---|---|---|
.. | ||
.eslintrc | ||
accessibility_spec.mjs | ||
annotation_spec.mjs | ||
caret_browsing_spec.mjs | ||
copy_paste_spec.mjs | ||
find_spec.mjs | ||
freetext_editor_spec.mjs | ||
highlight_editor_spec.mjs | ||
ink_editor_spec.mjs | ||
scripting_spec.mjs | ||
stamp_editor_spec.mjs | ||
test_utils.mjs | ||
text_field_spec.mjs | ||
text_layer_spec.mjs | ||
viewer_spec.mjs |