[Qgis-user] lines with arrowheads

Tim Sutton tim at linfiniti.com
Tue Jun 3 07:47:26 PDT 2008


Hi Martin

I agree - if we aply the patch Ill soft code the apearance properties
in the ui. Ill wait to see if there is general agreement before
applying it.

Regards

Tim

2008/6/3 Martin Dobias <wonder.sk at gmail.com>:
> On Tue, Jun 3, 2008 at 8:32 AM, Tim Sutton <tim at linfiniti.com> wrote:
>> Hi
>>
>> Yes if others are agreeable, I can add an option to vector props to
>> enable / disable the arrows (default off).
>
> Still -0 for me, because it will just complicate things later. Drawing
> arrows should be done by renderer and should have configurable symbol,
> size, color, spacing etc.
>
> Anyway, if you're willing to apply that patch and make it
> configurable, take in account these issues:
> - missing test whether line.length() is not 0, otherwise you're later
> dividing by 0
> - update for PyQGIS is missing
> - why #define PI when there's M_PI (in <cmath>)
> - magic numbers in code (like arrowSize=10) are bad
>
> Martin
>



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-user mailing list