Does the wiki page mean that:
SPPath --> Inkscape::SVG::Object::Path (to /src/svg/object/path.cpp or --> Inkscape::SVG::Path (to /src/svg/object/path.cpp ??)
I think the first, right? Johan
-----Original Message----- From: Engelen, J.B.C. (Johan) Sent: donderdag 13 maart 2008 21:23 To: 'Aaron Spike' Cc: inkscape-devel@lists.sourceforge.net Subject: RE: [Inkscape-devel] Renaming SPObjects proposal
Thank you very much Aaron. http://wiki.inkscape.org/wiki/index.php/SubsystemRearchitecture
Which means I'll start with it pretty soon. It's fun/dumb work :) I will not yet move files and such. Just changing names and putting it in right namespace. I don't think macros can be put in a namespace, so SP_IS_PATH => SVG_IS_PATH? Then afterwards we can take care of renaming files and moving them to /src/svg.
Cheers, Johan
-----Original Message----- From: Aaron Spike [mailto:aaron@...749...] Sent: donderdag 13 maart 2008 20:55 To: Engelen, J.B.C. (Johan) Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Renaming SPObjects proposal
J.B.C.Engelen@...1578... wrote:
added to SVG, Inkscape immediately generates an SPPath for it. I therefore propose to rename it to something that reflects
this aspect
of SPPath: that it is directly linked to something in SVG.
SPDesktop
for example is *not*.
SPDesktop => SPDesktop, stays the same SPPath => SVGPath, meaning it represents some element
in the SVG.
SPShape => SVGShape (since all its derivates are SVG elements) SP_IS_PATH => IS_SVG_PATH (I never understood why it isn't named IS_SP_PATH)
SPNamedview => SVGNamedview ?
I thought there was already a plan for this on the wiki somewhere. IIRC the idea was to remove the SP prefixes from everything and put them into appropriate namespaces.
Mental?
Aaron Spike