On Wed, March 8, 2006 3:16 pm, Joseph J. Strout wrote: > At 5:46 PM -0700 3/7/06, Glen Stephens wrote: > >>I have a successfully used the drawstring method to place text in a >>canvas, and use the scroll method of the canvas to create a smooth >>scroll. Because the text is so long it does not fit onto the >>canvas, I need to have the canvas add what new text would follow as >>the text scrolls off screen. > > That's going to be quite tricky to do, especially on systems that > anti-alias the text. What you'll need to do is draw the new line of > text into a picture first, then copy just the portion of the picture > that corresponds to the new content to your canvas.
I have a class that does this, if anyone's interested. It scrolls it via a timer and it's not the smoothest, but it works. -- Marc Zeedar Publisher REALbasic Developer Magazine http://www.rbdeveloper.com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
