Etoys Inbox: Morphic-kfr..74.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys Inbox: Morphic-kfr..74.mcz

commits-2
A new version of Morphic was added to project Etoys Inbox:
http://source.squeak.org/etoysinbox/Morphic-kfr..74.mcz

==================== Summary ====================

Name: Morphic-kfr..74
Author: kfr.
Time: 7 November 2011, 11:33:22 am
UUID: a59294a6-79e8-5148-a91d-1583a112958e
Ancestors: Morphic-kfr..73

SketchMorph comment got deleted...

=============== Diff against Morphic-kfr..73 ===============

Item was changed:
  Morph subclass: #SketchMorph
  instanceVariableNames: 'originalForm rotationStyle scalePoint framesToDwell rotatedForm filters'
  classVariableNames: ''
  poolDictionaries: ''
  category: 'Morphic-Basic'!
+
+ !SketchMorph commentStamp: 'kfr. 11/7/2011 11:32' prior: 0!
+ SketchMorph commentStamp: '<historical>' prior: 0!!
+ The morph that results when the user draws a color bitmap using the PaintBox (SketchEditorMorph and PaintBoxMorph).
+
+ forwardDirection is the angle at which the object will go forward.  When the rotationStyle is not #normal, then forwardDirection is any angle, while the rotation is highly restricted.  If flexed, this is remembered by the Transform morph.  For non-normal rotationStyle, it is rotationDegrees.
+
+ setupAngle (a property) is where the user put the green arrow to indicate which direction on the picture is forward.  When #normal, draw the morph initially at (0.0 - setupAngle).  The enclosing TransformationMorph then rotates it to the true angle.
+
+ rotationDegrees  In a #normal object, rotationDegrees is constant an equal to setupAngle.
+ For non-normal, it is the direction the object is going.
+
+ When repainting, set it back to its original state. The green arrow is set to setupAngle, and the sketch is shown as drawn originally (rotationDegrees = 0).
+
+ rotationStyle = normal (turns), leftRight, upDown, fixed.
+ When leftRight upDown or fixed, bit map has severe restrictions.
+ !

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev