Purpose of the Debug toolbar buttons

Nov 1, 2012 at 7:47 AM

Hi,

I wonder what is the purpose of the following check-buttons in the Debug toolbar ("debugToolStrip" control) of the "NShape Designer" application:

  • "Visualize occupied cells of the diagram's spacial index."
  • "Visualize invalidated areas"

I mean when it can be necessary to use them?

Coordinator
Nov 5, 2012 at 8:58 AM

"Visualize occupied cells of the diagram's spacial index."
This option is very useful when implemening Shape.CalculateCells (calculating cells occupied by the shape in the diagram's spatial index).

"Visualize invalidated areas"
This option is useful for developing/optimizing Shape.Invalidate or other Invalidate methods.