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:
  1. 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 ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $