Re: Adding a new arrow shape

Raed Mohsen <[email protected]> Mon, 20 Jun 2016 03:07:28 -0700
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <CA+2gDLjgCf099j_DOC_RUwBTUdgY29YfH2_e+bbxE92=4LUohA@mail.gmail.com>
This just works perfectly.

Thanks so much Philip for your help and explanation.

Regards

On 20 June 2016 at 02:49, Philipp Kindermann <
[email protected]> wrote:

> Hi Raed,
>
> try the following XML code:
>
> <symbol name="arrow/arrownew(spx)">
> <path stroke="sym-stroke" fill="red">
> 0 0 m
> -0.5625 0.1125
> -0.675 0.1125
> -1.05 0.3 c
> -0.975 0.075
> -0.97 -0.075
> -1.05 -0.3 c
> -0.5625 -0.1125
> -0.675 -0.1125
> 0 0 c
> </path>
> </symbol>
>
> The important part is that the head of the arrow lies at coordinate 0 0
> and that its size is not too large. I rotated the xml-code to make ā€ž82 166
> cā€œ the start- and endpoint, then translated all coordinates by -82 -166 and
> scaled them by 0.1. I hope this helps.
>
> Best,
> Philipp
>
> Am 20.06.2016 um 00:49 schrieb Raed Mohsen <[email protected]>:
>
>
> Hi all,
>
> I have a shape that I draw using IPE, the XML of it is:
>
> <path matrix="-0.357586 0 0 -0.33228 233.009 718.158" fill="black">
> 71.5 163 m
> 75.25 164.875
> 76.375 164.875
> 82 166 c
> 76.375 167.125
> 75.25 167.125
> 71.5 169 c
> 72.25 166.75
> 72.25 165.25
> 71.5 163 c
> </path>
>
> How can i add it to the style sheet to be a new arrow shape ?
>
> Regards
> --
> Raed Saasaa
> Research and Teaching Assistant | School of Engineering
> The University of British Columbia | Okanagan Campus
> Phone: +1 250 899 6079
> https://www.linkedin.com/in/raedsaasaa
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
>
>
>


-- 
Raed Saasaa
Research and Teaching Assistant | School of Engineering
The University of British Columbia | Okanagan Campus
Phone: +1 250 899 6079
https://www.linkedin.com/in/raedsaasaa

_______________________________________________
Ipe-discuss mailing list
Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
http://lists.science.uu.nl/mailman/listinfo/ipe-discuss