"EnTerr" wrote:
Can roImageCanvas draw anything else but images and text (i.e. lines, rectangles)?
I used lots of lines and rectangles here, and text and images:
http://forums.roku.com/viewtopic.php?f=28&t=46890&start=15#p452411The downside of using roImageCanvas for something like that (at least the way I implemented it), is the amount of time it takes to render all the lines (which are really very thin rectangles), and draw all the text. In that example, you can page through the screens vertically, but there's a noticeable (or irritating, depending on who you talk to) lag while the next page is rendered. The advantage of roImageCanvas is that it's much less work; I didn't have to do anything special to get the text lines to wrap within their enclosing rectangles, for example.
With roScreen you could render something like that a lot quicker, constructing the text and rectangle bitmaps ahead of time and use roCompositor and/or roRegion to achieve real, smooth scrolling - although it's a lot more complicated. NewManLiving is an expert on how to do all roScreen stuff.