Forum Discussion
TheEndless
12 years agoRoku Guru
"NewManLiving" wrote:
Apparently you can create an roRegion using the roScreen as its source bitmap, although the resolution/scaling is off.
What do you mean by this?
"NewManLiving" wrote:
It also appears that roRegion exposes an ifDraw2d interface , resolving it perhaps by calling it's source objects ifDraw2d interface.
It is undocumented, but roRegion does implement ifDraw2d, and it's the only (easy) way to do clipping when drawing directly to a bitmap or screen.
"NewManLiving" wrote:
I am particularly interested in creating regions right from the roScreen buffer which apparently works except for the scaling that is returned.
I've never had luck trying to draw a portion of the screen to a bitmap or the screen. This is what I was eluding to in the previous thread. In theory it should work, though. Again, could you explain what you mean by "except for the scaling that is returned"?