<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, I'm wondering if someone could help me with rotating rectangles... here is my current code:<div><br></div><div><div><font class="Apple-style-span" face="Menlo">drawRectangleFor: aSprite width: aWidth height: aHeight</font></div><div><font class="Apple-style-span" face="Menlo"><br></font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>| o canvas rect |</font></div><div><font class="Apple-style-span" face="Menlo"><br></font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>self createOrResizeTrailsForm. "ensure the form that we'll draw on exists"</font></div><div><font class="Apple-style-span" face="Menlo"><br></font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>o _ (aSprite referencePosition x + 240 )@(180 - aSprite referencePosition y).</font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>canvas _ FormCanvas on: penTrailsForm.</font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>rect _ Rectangle origin: o extent: (aWidth@aHeight).</font></div><div><font class="Apple-style-span" face="Menlo"><br></font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>"draw it"</font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>canvas frameAndFillRectangle: rect fillColor: aSprite fillColor borderWidth: aSprite penSize borderColor: aSprite penColor.</font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>self changed.</font></div><div><br></div><div><br></div></div><div>I attempted to rotate <font class="Apple-style-span" face="Menlo">canvas</font> using&nbsp;<font class="Apple-style-span" face="Menlo">transformBy: aDisplayTransform clippingTo: aClipRect during: aBlock&nbsp;smoothing: cellSize</font> but I don't understand the argument <font class="Apple-style-span" face="Menlo">during: aBlock</font>. What code should be passed in here? I noticed the block should take one argument called&nbsp;<font class="Apple-style-span" face="Menlo">offset</font>.</div><div><br></div><div>Cheers, Jonathan</div></body></html>