ISSUE-2296: Consider adding convenience methods for currentScale/currentTranslate
setZoom/Pan
Consider adding convenience methods for currentScale/currentTranslate
- State:
- RAISED
- Product:
- SVG 2
- Raised by:
- Doug Schepers
- Opened on:
- 2009-09-29
- Description:
- It would be convenient for both authors and implementations for SVG to define a couple new methods, zoom() (or setZoom()) and pan() (or setPan()), to allow set the centerpoint of the viewport and optionally zoom. These would modify the values of the currentScale and currentTranslate properties.
zoom( zoom-level, optional-cx, optional-cy)
pan( cx, cy)
UAs can offer these to users as part of the UI, and authors could use them as a more convenient way to zoom and pan to a specific center-point without having to calculate the viewBox, etc. - Related Actions Items:
- No related actions
- Related emails:
- ISSUE-2296 (setZoom/Pan): Consider adding convenience methods for currentScale/currentTranslate [SVG Core 2.0] (from sysbot+tracker@w3.org on 2009-09-29)
Related notes:
No additional notes.
Display change log