Re: Left and down arrow can only be perfect square?





On Tue, May 30, 2017 at 10:25 AM, Michael Ross <michael e ross gmail com> wrote:
You can compare the shape files and maybe learn the answer and a way to enhance the left and down shapes. Dia is lightly supported open source so you can lend a hand by investigating and reporting back.

Thanks. I think the following patch may work:

diff --git a/shapes/Assorted/arrow-down.shape b/shapes/Assorted/arrow-down.shape
index d6245bb7..6232895d 100644
--- a/shapes/Assorted/arrow-down.shape
+++ b/shapes/Assorted/arrow-down.shape
@@ -32,7 +32,7 @@
     <point x="3" y="1"/>
     <point x="2" y="1.84615384615385" main="yes"/>
   </connections>
-  <aspectratio type="fixed"/>
+  <aspectratio type="free"/>
   <svg:svg>
     <svg:polygon style="fill: default; stroke: foreground" points="1,0 1,2 0,2 2,4 4,2 3,2 3,0 "/>
   </svg:svg>
diff --git a/shapes/Assorted/arrow-left.shape b/shapes/Assorted/arrow-left.shape
index b89c5172..2c7c46bc 100644
--- a/shapes/Assorted/arrow-left.shape
+++ b/shapes/Assorted/arrow-left.shape
@@ -32,7 +32,7 @@
     <point x="3" y="3"/>
     <point x="2.15384615384615" y="2" main="yes"/>
   </connections>
-  <aspectratio type="fixed"/>
+  <aspectratio type="free"/>
   <svg:svg>
     <svg:polygon style="fill: default; stroke: foreground" points="4,1 2,1 2,0 0,2 2,4 2,3 4,3 "/>
   </svg:svg>



On Mon, May 29, 2017 at 10:13 PM, Iru Cai <mytbk920423 gmail com> wrote:
Hi,

I found that right arrow and up arrow can be resized to any width and height, but left and down arrow can only be perfect square. Is it a bug?

Iru

--
Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/

_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





--
To invent, you need a good imagination and a pile of junk.

A public-opinion poll is no substitute for thought.
Warren Buffet

Michael E. Ross
(919) 576-0824 Mobile and Google Phone





_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





--
Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]