
On Mon, 2013-08-05 at 12:10 +0200, Sebastian Götte wrote:
Hi, I just pushed some changes to launchpad that fix the GObject instantiation problem I had [0]. I am now explicitely initializing the members to 0. Next comes some cleanup integrating the feedback I received.
The current code allows one to place SPPoints and SPConnectors in the document, the three major problems left are state handling in the ConnectorContext (dragging does not work yet), live preview (the "red curve" is not displayed/updated yet) and a missing/superfluous display->doc transform.
Great! I can confirm it no longer crashes. Eagerly awaiting the ability to edit points.
One thing to think about while you are mucking around, we agreed at an SVG working group meeting that SVG points could be defined inside shapes (but I can't seem to find it minuted anywhere):
<rect x="100"....> <point x="50%" y="0%"/> </rect>
The percentage values on point are defined relative to the un-transformed bounding box of the shape, so in this case the point would be at the center top of the rectangle regardless of how the rectangle is transformed.
Tav