On Tue, 01 Aug 2000, Rogier Thissen wrote:
> Hi,
>
> would it be possible to create double-headed arrows in Dia? (lines with 2
> arrows instead of only one?? :
> --->> instead of ---> )
>
> Until now I just made one line with an arrow and another very short line
> with the same arrow just behind the first, so it appears there is just 1
> line with 2 arrows. But this is very tedious when i move the objects.....
>
> Is it hard to implement???
>
> I'm willing to try myself if someone can give me a nice starting point
> for doing this.... which file to edit, with methods to use ......
The main file would be lib/arrows.c. Each arrow type has a draw_<type>
function, which is called from arrow_draw. You'll also want to change the
arrow selection widgets DIAARROWSELECTOR in lib/widgets.c to include it,
and the DiaArrowPreview stuff in app/lineprops_area.c (which I am not
familiar with).
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | H�rdgrim of Numenor
"I do not agree with a word that you say, but I | Retainer of Sir Kegg
will defend to the death your right to say it." | of Westfield
--Evelyn Beatrice Hall paraphrasing Voltaire | Chaos Berserker of Khorne