On Sun, May 30, 2010 at 12:13, Rick <[email protected]> wrote:
> Alexander Klenin wrote:
> As I was browsing through the code last night, I was actually surprised that
> the reticule pen property
> was not already made public in TAChart.  I'll have the check out the
> LineDragTool--it sounds like it
> will work better for what I want to do anyway.  Rather than make so many
> heavy changes to the reticule,
> I wonder if it would be easier and more compatible to make a new tool like
> LineDrag that can be configured
> to snap to point and act like a reticule--or not.  Perhaps at some point
> later the reticule, with all its
> hard-coded properties and marriage to mouse movements, could be deprecated.

The important feature of the current reticule implementation is performance.
Users have reported charts with thousands of points, which require up
to a second
to redraw. I am afraid that redrawing on every mousemove might be unaccebtable
for such charts.

-- 
Alexander S. Klenin

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to