Hi, this is a modified version of the Cellmaker plugin by Ego Eram Reputo.
Use Effects->Render->CellMaker Rev
Download Link > CellMakerRev.zip
I needed to see the center of borders, so i quickly learned how to write a plugin (thanks to CodeLab ). Reading the original post and answers I used the MadJik's coding approach for efficiency.
Here is what it does:
+ entire/not entire cells option
+ choose start grid reference
+ move grid
+ show borders centers
+ a lot faster then the original plugin
- it has the same flaw of the original plugin:
The plugin checks only if the 4 corners are visible to draw a cell. So this may happen.
A picture to show the possibilities
And the source code for CodeLab
ps: I took the same icon as original plugin, and copy some code from ego eram reputo and MadJik. If this is not allowed I'll delete what's needed.
ps2: I still don't quite understand how some functions works. I've seen a lot of
for (int y = rect.Top; y < rect.Bottom; y++)
for (int x = rect.Left; x < rect.Right; x++)
But the plugins only works within selected region, so why do that?
Also is there a similar function as selectionRegion.IsVisible(x,y) for segments or areas, because calling IsVisible for a lot pixel is very slow.