[Etoys] [Fix] Horizontal and Vertical Flips

subbukk subbukk at gmail.com
Mon Nov 12 23:11:13 EST 2007

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.
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 

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.

Let me see if I can come up with a patch that will fix this.

More information about the Etoys mailing list