>- Create a double buffer system to that will be used to > display the drawn text to the canvas (don't draw directly > to the canvas). This will pretty much eliminate flickering. > This double buffer should be the size of your canvas and > resized when the buffer canvas size changes.
I have this in place. >- When the text changes or is scrolled, redraw the text to > the double buffer and then blit it out to the canvas each > time. This will minimize memory usage. I have this in place. At this point, the only thing I am having trouble with is determining how to size the canvas to allow the text to display. I think I have to increase the size of the canvas to accommodate each line of text. How do I determine this and how do I determine the height of wrapped text? _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
