[Squeakland] pen trail as object (in OLPC)

subbukk subbukk at gmail.com
Mon Sep 10 01:36:19 PDT 2007


On Sunday 09 September 2007 5:19 am, Randy Heiland wrote:
> Thank you once again for your reply, Pierre-Andre.  You helped
> provide details of what Alan had earlier suggested, I think.  I must
> admit I still find it a bit confusing.  I basically repeated your
> project - using a Line and Circle from the Graphics category of the
> Objects Catalog.  However, I could never change the pen size of the
> drawn polygon.  Is it not possible using this approach?  Similarly, I
> tried to change the color - both the penColor (pen use category) and
> in the color category, but could not.
Since the Line is tracking the Circle's pen movement, set its width to the 
Circle's pen size and its color to the Circle's pen color. The pen of the 
Line object is not used in this case because the Line itself represents the 
visible part of the trail.

Hope this helps .. Subbu



More information about the Squeakland mailing list