[Etoys] [Fix] Horizontal and Vertical Flips

Bert Freudenberg bert at freudenbergs.de
Tue Nov 13 11:29:05 EST 2007


On Nov 13, 2007, at 5:11 , subbukk wrote:

> On Tuesday 13 November 2007 6:06 am, Scott Wallace wrote:
>> Hi, Subbu,
>>
>> If the sketch has been rotated, this patch seems to produce incorrect
>> results.
> Scott,
> Thanks for trying out the patch. I should have included a warning  
> in my post.
> The patch only adds flip commands to the viewer of a SketchMorph. The
> SketchMorph methods themselves are broken. I use the patch to compose
> sketches with mirror symmetry and then grab the composite for a single
> sketch. Kludgy, but a stop gap till etoys get true transformation
> capabilities.
>
> Flips don't work on rotated sketches because the flip* methods of  
> SketchMorph
> are broken. They switch the form (which resets the  
> rotationCenter) :-(.
> Rotations, flips, shear and scale, being views on the base image,  
> should
> affect only the view transform values and not the base form.

Sounds useful to get in for Update.2 - please open a Trac ticket.

- Bert -




More information about the Etoys mailing list