Hi Andrea,

Andrea Pescetti schrieb:
On 26/11/2013 Regina Henschel wrote:
I have expanded the standard.soe with some arrow heads with hole. The
file is attached to https://issues.apache.org/ooo/show_bug.cgi?id=123758.
If you like them, we can consider to use this palette as default.

I added a screenshot to the issue for clearer comparison. The new styles
are nice and it would be good to have them in 4.1.

In some cases, in the preview, I see the main line of the arrow going
(seemingly) too far within the arrow head, see
http://imagebin.org/280257 for an example. Is this wanted?

No, that is not wanted. I will explain the problem in more detail:

If you stop the line at the very place where the arrow head starts, you get a visible gap between the "square 45°" and the line itself for fat lines (and same for circle or any peak shape). Therefore an overlap was introduced. For the filled arrow heads, it does not matter whether the line is drawn a little bit longer.

For the arrow heads with hole you have to find a compromise between showing a gap at the outer part and showing a little bit line in the hole.

Currently the amount by which the line is drawn longer does not depend on the kind of arrow head, but on the length of the arrow head. It is in file polygonprimitive2d.cxx in method PolygonStrokeArrowPrimitive2D::create2DDecomposition around line#547 the statement "fStart *= 0.8;" In LO I have changed that to "fStartOverlap = getStart().getWidth() / 15.0;", so that it depends on the width of the arrow head, which also determines the 'stroke' width in the non-filled arrow heads. It is a compromise too. (It is not really a 'stroke', but the area between two combined paths.)

We could copy that in AOO. But perhaps someone has a better idea?

Kind regards
Regina



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to