[Q] newbie morphic question

Ned Konz ned at bike-nomad.com
Thu Mar 27 18:52:20 UTC 2003


On Thursday 27 March 2003 10:39 am, kosh777 at yahoo.com wrote:
> Is there a quick, easy way to invert an SketchMorph?
> The blue handle is great for rotation, but naturally
> impossible for inversion.
>
> I searched the swiki, but couldn't find anything. I
> searched the methods, and found something in the
> MorphicTransform class, but I don't understand the bit
> about local and global coordinates.
>
> I also found the flip methods in SketchEditorMorph,
> but I haven't a clue how to use them.

You can change the rotation style to one of the "flip" modes, then 
open a viewer, and make a script that says (for instance)

Sketch turnBy 90

and execute it.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list