Home » Developing U++ » UppHub » PlotCtrl
Re: PlotCtrl [message #22853 is a reply to message #22822] |
Sat, 22 August 2009 13:42   |
|
Hello everybody,
Here goes newest version of PlotCtrl. I've added checks to avoid freezes due to precision limitations (as described in above post). Another changes are in mouse handling - now it uses RectTracker - wonderful class, which I just discovered . Also the bindings are now (hopefully) more logical: left click zooms in, right click out, left push&move zooms to selection and ctrl+left shows all plots.
A lot of changes happened in the plotting code too. I've added clipping (drawing only segments of lines that are actually visible in current plot) and I was quite surprised by the speedup. Many thanks goes to Mirek, since it was his LineClip() from Painter, which I used as a base for my code to safe time I hope it's OK...
Things that still need to be fixed: axes labels, cursors and much more...
Any suggestions or feedback?
Regards,
Honza
[EDIT: Removed the file, see newest version below.]
[Updated on: Sat, 22 August 2009 20:22] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 03 10:59:28 CEST 2025
Total time taken to generate the page: 0.03857 seconds
|