Re: [Inkscape-devel] How to add <marker> objects to <def>
you can find the new SPMarker with
mark = (SPMarker *) sp_document_lookup_id (doc, sp_repr_attr (repr, "id"));
where repr is the newly created repr.
Note that the URIReference class was introduced to automate this process somewhat, as well as provide notification when a marker with that name is added or removed.
Can you point to an example of its use in the code?
_________________________________________________________________ MSN Premium with Virus Guard and Firewall* from McAfee� Security : 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI...
On Tue, 2004-04-06 at 16:00, bulia byak wrote:
Note that the URIReference class was introduced to automate this process somewhat, as well as provide notification when a marker with that name is added or removed.
Can you point to an example of its use in the code?
I believe masks, <use>, clipping paths, and gradients use it now.
-mental
participants (2)
-
bulia byak
-
MenTaLguY