Hello everyone!
I am looking for the methods that draw little circular handles and selection cues respectively. Does anyone know these?
I am making extensive use of SVG group nodes. I would like to be able to check where the center of an object is, in order to know if I previously changed the group matrix or the content's matrices. I found no way to easily check this in Inkscape.
It is especially difficult to notice if a path object is changed or moved. I found that the default behaviour for dragging a path is that the path data gets altered, instead of applying a translation matrix. I plan to use the graphics as animation assets, so the difference matters to me.
What I would like to do now is to make code modifications to draw a little circle at the center of a selected object, so I can clearly see when the contents or the path are off center.
Can someone maybe help me and point me to the relevant classes and methods? I searched the source code and the mailing list archives, but without luck so far. I need:
1. The method that draws those little white circles, e.g. at the end of Bezier handles.
2. The method that draws a bounding box and the selection cue whenever an object gets selected, so that I can apply the circle.
Many thanks in advance!
Gerrit _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=...