Profile Picture

Axis Cursor Performance with PaintCallback

Posted By Paulo Silva 11 Years Ago
Author
Message
Paulo Silva
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 13, Visits: 12
Hi all,

Another problem with Axis Cursor Performance, is when I have a CustomPaintCallBack.

In the attach sample, I have a 'DataTable' simulation with PaintCallBack.
When the PaintCallBack are visible the cursors are very slow.

Can anyone advice?

Attachments
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Paulo,

Same as the previous post - you do a hit test on mouse move, which is not necessary...



Best Regards,
Nevron Support Team



Paulo Silva
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 13, Visits: 12
Hi,

That's not a valid answer.

1. I need hit test on mouse move for select the values in a Data Grid I have.
2. If hit test on mouse move is computationally expensive, why without CustomPaint it's not?


Best regards.


Paulo Silva
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 13, Visits: 12
I found that the problem seems to be the strings with TextFormat.XML.
Maybe some calculations to fit the string inside the rectangle?
Some measure string?



Similar Topics


Reading This Topic