Garrick:
Reaper has a bunch of off-screen spaces called "buffers" that you can draw into. They're really useful if, for instance, you have four or five separate shapes being drawn to make a knob or button or something. Rather than drawing each shape every time the script loops around, you can draw them into a buffer once and then have Reaper copy/paste that buffer onto your GUI window.
I only recently started using them, now that I'm fiddling with using .png files for graphics. Images have to be loaded from files into a buffer, which stores all of their animation frames.
Par example:
-
X-Raym:
Cheers. I actually think it makes sense to think of ReaScript shapes as objects, since they're continually being redrawn. But yes, that's something I'll talk about (if I remember).