[Ipe-discuss] How to "reverse" the arc, when creating a shape?

Wojciech Zabolotny wzab01 at gmail.com
Sun Aug 23 21:30:29 CEST 2015


2015-08-23 14:45 GMT+02:00 Otfried Cheong <otfried at ipe.airpost.net>:
>
>
> On Sun, Aug 23, 2015, at 17:56, Wojciech Zabolotny wrote:
>> Is there any way to generate the arc covering the right range of
>> angles but in reversed direction?
>
> An arc is always counter-clockwise on its supporting unit circle.  To
> get a clockwise arc, you need to change the matrix so that it mirrors
> this circle.  (E.g. negate the change the first element.)
>

Thanks, I've modified my source accordingly (see attached kolka9.lua script),
and now the objects are generated correctly.

Thanks, Wojtek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolka9.lua
Type: text/x-lua
Size: 683 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20150823/78fb606b/attachment.bin 


More information about the Ipe-discuss mailing list