In my experiments with the code, I need some basic information on how an object is assigned its color parameters. Consider the following steps: 1. Draw a circle. Fill it with red color. 2. Draw a rectangle. Fill it with green. (both are solid colors right now)
What would be happening in the memory/inkscape process ? a.) Will the inkscape process update the svg document side-by-side which will contain some style information ?
OR
b.) Is a linked list of objects updated in the memory which shall store the color properties for the circle and rectangle objects (along with other related parameters ofcourse, like stroke, style, etc.)?
If you can give an idea on what files in the code handle these aforementioned steps, it will be great. The wiki's section on InkscapeColor does not help at all.
I suppose the above question points to a more generic question ! " How are objects handled in Inkscape (while drawing) ?" Are they objects in the memory ? Perhaps grouping them just groups those objects under a group in a linked list or something like that ?
Looking for quick answers. Thankyou.