From: Lauris K. <la...@xi...> - 2001-10-22 23:50:25
|
Hello! This approach has problems too - say one has hundreds of plugin .so files. And there is <xyzfoo> tag in document file. Just to discover, which plugin handles that tag, program has to load/query them all. Also, the more information is contained in plugin itself, the harder the backward-compatibility issues will be. I have not touched plugins partially the reason, I want the document etc. structure to clear up as much as possible beforhand. Best wishes, Lauris Kaplinski On Fri, 2001-10-19 at 15:46, Maiorana, Jason wrote: > > > >Doing shape plugin is relatively easy - just have objects.xml > >file somewhere, with entry: > ><objecttype name="star" handler="libsodipodistar.so"/> > > Ive often found, that for plugins, its nicer to have them totally > self contained. Instead, have the .so file specify what objecttypes > it supports- perhaps a global function: > > const char *plugin_get_object_type_name(void); > > scan the directory(s), and anytime a new plugin or updated filetime is > noticed- then try to (re)load the plugin. also nice to allow users to > have personal plugins in ~/.sodipodi/plugins. > > > > ~~~~~~~~~~~ > P.S. about my post about "fill-rule": the spec actually says that > "fill-rule:nonzero;" is the default, I was incorrect. The question > about support for the sytle still makes a bit of sense. ( Raster algs > are a hobby of mine) Once I finish dling gnome 1.4, Ill probably try > to get the rendering code from cvs, but if anyone knows offhand > how hard/easy might be to choose filling modes.... > > _______________________________________________ > Sodipodi-list mailing list > Sod...@li... > https://lists.sourceforge.net/lists/listinfo/sodipodi-list |