Nevron Forum

Axis Cursor Performance with PaintCallback

https://www.nevron.com/Forum/Topic7334.aspx

By Paulo Silva 2 - Thursday, January 17, 2013

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?
By Nevron Support - Thursday, January 17, 2013

Hi Paulo,

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

By Paulo Silva 2 - Friday, January 18, 2013

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.
By Paulo Silva 2 - Tuesday, January 22, 2013

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?