Re: changing colour of custom shapes
- From: Hans Breuer <hans breuer org>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: changing colour of custom shapes
- Date: Thu, 27 Nov 2008 23:32:19 +0100
At 27.11.2008 16:35, waldbauernbub wrote:
Looks like pure coincidence though I currently can not find the reason in
the souce code.
I am trying to create a dia-sheet with symbols used in power-engineering
(power station, cooling and heating cycles) which I intend to make
available to other users once it's finished.
I am experiencing problems with the shapes which I created myself:
Exporting the shapes, importing into a sheet and using in a dia file
But when I try to change the colour of the inserted object not all lines
change their colour.
I noticed the following behaviour:
Straight lines do not change the colour, but the colour beziergons and
ellipses is changed to the desired one.
I did a lot of research to find an answer to this question. I would
appreciate your help.
I think this is (kind of) answered in the custom-shapes document. You need
to use the symbolic names to get color editing capabilities:
stroke - The stroke colour. You can use one of the symbolic
names foreground, fg, default, background, bg inverse,
text or none, or use a hex colour value of the form
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
] [Thread Prev