X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a0495c9f7c2293016b2d7ae98bdef3d6b49761d..53a118d6fe4ecbeda81c0eb2bef65e204b3588ad:/wxPython/wx/lib/floatcanvas/__init__.py?ds=inline diff --git a/wxPython/wx/lib/floatcanvas/__init__.py b/wxPython/wx/lib/floatcanvas/__init__.py index 52d39a8caa..b03b8fd7c8 100644 --- a/wxPython/wx/lib/floatcanvas/__init__.py +++ b/wxPython/wx/lib/floatcanvas/__init__.py @@ -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,40 +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 objects is +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.7" +__version__ = "0.9.18"