Hi,

I have a question about this (for adding it to DiaCanvas, if I may): how can it handle 
text, is it possible to edit text the way you would if it was a "programmed" object? 
It would be nice for lots of object (use cases, classes).

regards,

Arjan

> 
> I just commited a bit of stuff to the custom shape code.  It 
> now acts a
> bit closer to the SVG spec so that if you don't set the fill colour, a
> drawing element will be unfilled.
> 
> I also added the ability to force a particular colour (ie. to 
> get red, you
> would use "fill: #ff0000").  It is also possible to set the 
> stroke or fill
> colours to the shape's foreground colour (using foreground or fg) or
> background colour (with background or bg) or text colour 
> (with text).  You
> can also use default or inverse which behave differently depending on
> whether you are setting the stroke or fill colour.
> 
> I am planning on adding support for a few attributes for line 
> style (line
> caps and join styles and dash pattern).  This would allow you to
> overrride the user specified values.  After that, it should 
> be possible to
> draw most shapes with the custom shape code.
> 
> On the subject of using the custom shape code to fill out the 
> current set
> of palettes, the best way to do this would be to statically 
> link the code
> into dia so that it will be available to other object 
> libraries.  What do
> people think of this idea?
> 
> James.
> 
> --
> Email: [EMAIL PROTECTED]
> WWW:   http://www.daa.com.au/~james/
> 
> 

Reply via email to