Commit 0ffed8a5 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix arrow markers to look better

The markers were generated in Inkscape. And there they had a stroke of
1pt. But(!) in Inkscape, the meaning of pt/px is a bit different. In
Inkscape 1px equals 1mm. But is Krita 1px is more or less equal to 1 pt.
Therefore the arrows looked ugly.

This patch just sets the arrow stroke width to a fixed value in 'px',
which solves the uncertainty caused by using configurable values.
2.8 = 72 pt/in / 25.4mm/in

BUG:402250
parent 9d7f912e
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<path <path
id="path4209" id="path4209"
d="M -2.5,-1.0 C -2.5,1.7600000 -4.7400000,4.0 -7.5,4.0 C -10.260000,4.0 -12.5,1.7600000 -12.5,-1.0 C -12.5,-3.7600000 -10.260000,-6.0 -7.5,-6.0 C -4.7400000,-6.0 -2.5,-3.7600000 -2.5,-1.0 z " d="M -2.5,-1.0 C -2.5,1.7600000 -4.7400000,4.0 -7.5,4.0 C -10.260000,4.0 -12.5,1.7600000 -12.5,-1.0 C -12.5,-3.7600000 -10.260000,-6.0 -7.5,-6.0 C -4.7400000,-6.0 -2.5,-3.7600000 -2.5,-1.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.2) translate(7.4, 1)" /> transform="scale(0.2) translate(7.4, 1)" />
</marker> </marker>
<marker <marker
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<path <path
id="path4206" id="path4206"
d="M -2.5,-1.0 C -2.5,1.7600000 -4.7400000,4.0 -7.5,4.0 C -10.260000,4.0 -12.5,1.7600000 -12.5,-1.0 C -12.5,-3.7600000 -10.260000,-6.0 -7.5,-6.0 C -4.7400000,-6.0 -2.5,-3.7600000 -2.5,-1.0 z " d="M -2.5,-1.0 C -2.5,1.7600000 -4.7400000,4.0 -7.5,4.0 C -10.260000,4.0 -12.5,1.7600000 -12.5,-1.0 C -12.5,-3.7600000 -10.260000,-6.0 -7.5,-6.0 C -4.7400000,-6.0 -2.5,-3.7600000 -2.5,-1.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.4) translate(7.4, 1)" /> transform="scale(0.4) translate(7.4, 1)" />
</marker> </marker>
<marker <marker
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<path <path
id="path4203" id="path4203"
d="M -2.5,-1.0 C -2.5,1.7600000 -4.7400000,4.0 -7.5,4.0 C -10.260000,4.0 -12.5,1.7600000 -12.5,-1.0 C -12.5,-3.7600000 -10.260000,-6.0 -7.5,-6.0 C -4.7400000,-6.0 -2.5,-3.7600000 -2.5,-1.0 z " d="M -2.5,-1.0 C -2.5,1.7600000 -4.7400000,4.0 -7.5,4.0 C -10.260000,4.0 -12.5,1.7600000 -12.5,-1.0 C -12.5,-3.7600000 -10.260000,-6.0 -7.5,-6.0 C -4.7400000,-6.0 -2.5,-3.7600000 -2.5,-1.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.8) translate(7.4, 1)" /> transform="scale(0.8) translate(7.4, 1)" />
</marker> </marker>
<marker <marker
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<path <path
id="path4157" id="path4157"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.2) rotate(180) translate(6,0)" /> transform="scale(0.2) rotate(180) translate(6,0)" />
</marker> </marker>
<marker <marker
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<path <path
id="path4154" id="path4154"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.2) translate(6,0)" /> transform="scale(0.2) translate(6,0)" />
</marker> </marker>
<marker <marker
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<path <path
id="path4151" id="path4151"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.4) rotate(180) translate(10,0)" /> transform="scale(0.4) rotate(180) translate(10,0)" />
</marker> </marker>
<marker <marker
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<path <path
id="path4148" id="path4148"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.4) translate(10,0)" /> transform="scale(0.4) translate(10,0)" />
</marker> </marker>
<marker <marker
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<path <path
id="path4145" id="path4145"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.8) rotate(180) translate(12.5,0)" /> transform="scale(0.8) rotate(180) translate(12.5,0)" />
</marker> </marker>
<marker <marker
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<path <path
id="path4142" id="path4142"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:none;stroke-opacity:1;fill:#000000;fill-opacity:1" style="fill-rule:evenodd;stroke:#000000;stroke-width:2.8;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.8) translate(12.5,0)" /> transform="scale(0.8) translate(12.5,0)" />
</marker> </marker>
</defs> </defs>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment