Merge pull request #87 from Saurbaum/snaptogrid

Expose current zoom level through canvas for extensions
master
Jeff Schiller 2016-03-14 09:20:23 -07:00
commit c01930d4ec
1 changed files with 5 additions and 0 deletions

View File

@ -5505,6 +5505,11 @@ var getResolution = this.getResolution = function() {
// Returns the current zoom level
this.getZoom = function(){return current_zoom;};
// Function: getSnapToGrid
// Returns the current snap to grid setting
this.getSnapToGrid = function(){return curConfig.gridSnapping;};
// Function: getVersion
// Returns a string which describes the revision number of SvgCanvas.
this.getVersion = function() {