pdf.js/src/display/editor
Jonas Jenwald cafdc48147 [api-minor] Add a new PageViewport-getter to access the original, un-scaled, viewport dimensions
While reviewing recent patches, I couldn't help but noticing that we now have a lot of call-sites that manually access the `PageViewport.viewBox`-property.
Rather than repeating that verbatim all over the code-base, this patch adds a lazily computed and cached getter for this data instead.
2022-12-11 18:37:35 +01:00
..
annotation_editor_layer.js [api-minor] Add a new PageViewport-getter to access the original, un-scaled, viewport dimensions 2022-12-11 18:37:35 +01:00
editor.js [api-minor] Add a new PageViewport-getter to access the original, un-scaled, viewport dimensions 2022-12-11 18:37:35 +01:00
fit_curve.js [editor] Use the fit-curve package (issue 15004) 2022-07-07 10:43:43 +02:00
freetext.js [Editor] Don't use the editor parent which can be null. 2022-12-08 14:06:06 +01:00
ink.js [Editor] Don't use the editor parent which can be null. 2022-12-08 14:06:06 +01:00
tools.js [Editor] Don't use the editor parent which can be null. 2022-12-08 14:06:06 +01:00