making an ipelet for changing a straight line into a wave...

Jens Henrik Nielsen <jhn-NNsoIfBzQvx/[email protected]>
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <F5180A83BFC7224AA0C66C5CA31C1A2601645F6F@ait-pex02mbx04.win.dtu.dk>
Dear all,

I have been using Ipe for some years now and now I wanted to move further and try to make a small ipelet which could be helpful in my daily work.

I plan/hope to make an ipelet which can change a straight line into a wave like line by:



1)      Extract the coordinates to the end-points of the curve

2)      Add control points suitable locations between the end-points

3)      Draw a Bezier curve using the control points

4)      Remove the straight line.

Since I'm quite new in this I was wondering if somebody could help me in the right direction? Right now I'm struggling just with extracting the coordinates for the end-points so just to get me started on that would be helpful.

Best regards,
Jens

_______________________________________________
Ipe-discuss mailing list
Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.