X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e1796efd30885c38cdf3d4779ad9ce026111649..53a118d6fe4ecbeda81c0eb2bef65e204b3588ad:/wxPython/wx/lib/floatcanvas/__init__.py diff --git a/wxPython/wx/lib/floatcanvas/__init__.py b/wxPython/wx/lib/floatcanvas/__init__.py index b47f4d988b..b03b8fd7c8 100644 --- a/wxPython/wx/lib/floatcanvas/__init__.py +++ b/wxPython/wx/lib/floatcanvas/__init__.py @@ -2,7 +2,7 @@ This is the floatcanvas package. It provides two primary modules, and a support module. -FloatCanvas.py contains the main FloatCanvas class, and it's supporting +FloatCanvas.py contains the main FloatCanvas class, and its supporting classes. NavCanvas.py contains a wrapper for the FloatCanvas that provides the canvas and a toolbar with tools that allow you to navigate the canvas (zooming, panning, etc.) Resources.py is a module that @@ -29,8 +29,7 @@ It is double buffered, so re-draws after the window is uncovered by something else are very quick. It relies on NumPy, which is needed for speed (maybe, I haven't profiled -it). It will also use numarray, if you don't have Numeric, but it is -slower. +properly) and convenience. Bugs and Limitations: Lots: patches, fixes welcome @@ -60,36 +59,39 @@ If you are zoomed in, it checks the Bounding box of an object before drawing it. This makes it a great deal faster when there are a lot of objects and you are zoomed in so that only a few are shown. -One solution is to be able to pass some sort of object set to the DC -directly. I've used DC.DrawPointList(Points), and it helped a lot with -drawing lots of points. However, when zoomed in, the Bounding boxes need -to be checked, so I may some day write C++ code that does the loop and -checks the BBs. - Mouse Events: -At this point, there are a full set of custom mouse events. They are -just like the regular mouse events, but include an extra attribute: -Event.GetCoords(), that returns the (x,y) position in world coordinates, -as a length-2 NumPy vector of Floats. +There are a full set of custom mouse events. They are just like the +regular mouse events, but include an extra attribute: Event.GetCoords(), +that returns the (x,y) position in world coordinates, as a length-2 +NumPy vector of Floats. + +There are also a full set of bindings to mouse events on objects, so +that you can specify a given function be called when an object is +clicked, mouse-over'd, etc. See the Demo for what it can do, and how to use it. Copyright: Christopher Barker - License: Same as the version of wxPython you are using it with. -Check for updates at: -http://home.comcast.net/~chrishbarker/FloatCanvas/ +TRAC site for some docs and updates: +http://morticia.cs.dal.ca/FloatCanvas/ -Please let me know if you're using this!!! +SVN for latest code: +svn://morticia.cs.dal.ca/FloatCanvas + +Mailing List: +http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas +Check for updates or answers to questions, send me an email. +Please let me know if you're using this!!! Contact me at: Chris.Barker@noaa.gov """ -__version__ = "0.8.5" +__version__ = "0.9.18"