arunkumarmunusamy / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

API hooks in editor to control view #407

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Let editor plugins center the view on a x/y, set the zoom level, and/or set the 
extent of the current viewport.

Original issue reported on code.google.com by watusim...@bitfighter.org on 25 Feb 2014 at 11:41

GoogleCodeExporter commented 9 years ago
Now mostly done

Original comment by watusim...@bitfighter.org on 27 Feb 2014 at 12:57

GoogleCodeExporter commented 9 years ago
The following methods are now available to plugins:

setDisplayZoom(num zoom)
setDisplayCenter(Point pos)
setDisplayExtents(point pt1, point pt2)
getDisplayCenter()
getDisplayZoom()
getDisplayExtents()

Original comment by watusim...@bitfighter.org on 1 Mar 2014 at 10:32