My canvas subclass has a property called backdrop (a picture)
um... I'm not sure but it seems a bit dangerous to be adding a backdrop
property, since RB already has a backdrop property for the canvas.
and parent (a
window). The code I'm using is as follows:
backdrop = newPicture( width, height, screen( 0 ).depth )
parent.drawInto backdrop.graphics, -left, -height
However, all I'm getting in Classic or in Mac OS X is plain white.
OK, well if changing the name doesn't help, you must remember that in
the pain event of the canvas, you have to draw backdrop to g (NOT to
graphics, they are different when using DrawInto!).
If you actually meant that you are using the built-in backdrop property
and assuming it will be drawn, then I'd suggest doing the drawing of the
backdrop yourself.
|