I've tested the guide generation:

1. When using the extra parameter
'{http://www.inkscape.org/namespaces/inkscape}color':"rgb(255,0,0)", 
as suggested by Jabier, it does write the color in the xml, as
 inkscape:color="rgb(255,0,0)"

2. And indeed, Inkscape does not pick up the color. (Even when closing and reopening the document.)

I'll wait for 0.92 to implement this then.

Thanks to all for all the feedback.

Samuel

2015-02-18 16:58 GMT+01:00 su_v <suv-sf@...58...>:
On 2015-02-18 15:03 (+0100), alvinpenner wrote:
> if I manually edit the color of a guide using the gui, then I get something
> like below. You should be able to do the same by writing to
> 'inkscape:color'.
>
>     <sodipodi:guide
>        position="100,548.57144"
>        orientation="1,0"
>        id="guide3336"
>        inkscape:label=""
>        inkscape:color="rgb(22,255,0)" />

AFAICT it won't help with current 0.91 even if the generated syntax is
correct: Due to the partial implmentation Inkscape 0.91 and 0.91+devel
will not render the guide with the color defined in the SVG source
returned by the extension script.

Quick test:
1) open new doc
2) create a guide
3) assign a custom color to the guide
4) run any extension
-> once the drawing content returned from the extension is reloaded in
Inkscape's document window, the colored guide reverts to the original color.


Regards, V


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel



--
Samuel Dellicour
0489 32 81 34
samplify webdesign
simplify + amplify