segsDrawing package

The difficult part here is the of arrow heads. In Scilab, the computation of arrow heads size is not clear at all.

Here are some facts applying to segs, champ and polylines with arrow heads objects:

The ArrowHeadDrawerGL tries to gather all these data to compute the final arrow size. It's tricky and since some of the above statements don't seems logical and request the use of some magical constants (REDUCTION_RATIO, SEGS_REDUCTION_RATIO and REDUCTION_RATIO_DEPENDING), it might be wise to specify some new bahaviours.

public: segsDrawing package and Arrow head drawing (last edited 2011-03-30 16:18:29 by localhost)