On Wed, Mar 5, 2014 at 9:58 AM, Nouvelle Collection < [email protected]> wrote:
> >> no, I put the test in ScaledBitmapDemo, not ScaledBitmap2Demo. Not for >> any particular reason. > > > I looked into > http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/FloatCanvas/Demos > and I tried to get the files also with "svn co > http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/FloatCanvas/FloatCanvas" > but in both cases, I couldn't fnd "ScaledBitmapDemo.py". Are you sure the > file is on the SVN ? > indeed you were right -- it wasn't there. It is now. > Are you using ScaledBitmap or ScaledBitmap2? ScaledBitmap2 is >> more efficient if you are zooming in on the detail of a large image -- it >> is smarter about only using the part of the image that is in view at the >> time. Ideally, it should completely replace ScaledBitmap, but I don't hink >> it works quite right if you use arbitrary projection functions so I've >> kept both in place for now. >> > > Ok! I've tried both, and both work. > If you are mostly going to be seeing the entire image, or most of it, then ScaledBitmap is probably a little faster. If you need to zoom in on just a small piece of the image, then ScaledBitmap2 is better. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected]
_______________________________________________ FloatCanvas mailing list [email protected] http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
