On 2014-04-03 24:43 +0100, Papoj Thamjaroenporn wrote:
> in long run I want to develop Inkscape Extension in C++ (because I
> believe it has more capabilities and speed). In this case, I would
> still need to install from -devel trunk, correct?
Yes.
Current extension system:
Inkscape's current extension system does not support binary "plugins" in
the sense like e.g. GIMP does - if you write an extension in C++, it has
to be compile in, and cannot be installed later on by the user by
dropping a binary into the shared extension directory.
Future scripting APIs:
Inkscape trunk has a new DBus-based scripting API (not enabled with
regular builds (though MacPorts 'inkscape-devel' port has it enabled),
not documented yet except the docs in the repo, and a few threads on
'inkscape-devel' mailing list).
The DBus interface is not feature-complete at its current state, and
AFAIU it's a recurring topic on the devel mailing list whether to
replace the programming-language-neutral interface with a Python
scripting console and Python bindings - I'd recommend to search the
archives of 'inkscape-devel' for more information.
On 2014-04-03 24:43 +0100, Papoj Thamjaroenporn wrote:
> in long run I want to develop Inkscape Extension in C++ (because I
> believe it has more capabilities and speed). In this case, I would
> still need to install from -devel trunk, correct?
Yes.
Current extension system:
Inkscape's current extension system does not support binary "plugins" in
the sense like e.g. GIMP does - if you write an extension in C++, it has
to be compile in, and cannot be installed later on by the user by
dropping a binary into the shared extension directory.
Example internal extension (has bugs wrt to handling transformations tavmjong. free.fr/ INKSCAPE/ MANUAL/ html/Extensions -Render. html#Extensions -Grid> bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/view/ head:/src/ extension/ internal/ grid.cpp>
applied to parent containers (groups) correctly):
'Extensions > Render > Grid'
<http://
<http://
Another one is tavmjong. free.fr/ INKSCAPE/ MANUAL/ html/Extensions -GenerateFromPa th.html# Extensions- Halo> bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/view/ head:/src/ extension/ internal/ bluredge. cpp>
'Extensions > Generate from Path > Inset/Outset Halo'
<http://
<http://
Future scripting APIs:
Inkscape trunk has a new DBus-based scripting API (not enabled with
regular builds (though MacPorts 'inkscape-devel' port has it enabled),
not documented yet except the docs in the repo, and a few threads on
'inkscape-devel' mailing list).
Generated API docs: /dl.dropboxuser content. com/u/65084033/ devel/dbus/ doc/inkscapeDbu sRef.html>
<https:/
The DBus interface is not feature-complete at its current state, and language- neutral interface with a Python
AFAIU it's a recurring topic on the devel mailing list whether to
replace the programming-
scripting console and Python bindings - I'd recommend to search the
archives of 'inkscape-devel' for more information.