Hi,
It would be useful to have in the line style widget an option to
select the length of the dash. Adding a spin button and making the
widget a subclass of vbox, like the arrow selector, is not a problem.
The problem is the function dia_line_style_selector_get_linestyle, which
currently returns LineStyle. There's two possible solutions:
- Return a struct { LineStyle; real dashlength; }
- Allow two reference parameters in the function:
(DiaLineStyleSelector *fs, LineStyle *ls, real *dashlength)
What do you think?
Alejandro