AFAIK the GWorld stuff was only added in System 7, which is why I did the backing bitmap approach so I could support System 6.
And I got the idea from looking at the Glypha source here: https://github.com/softdorothy/Glypha3. Specficially the CreateOffscreenBitMap() method here...
For MacLO I wrote some fairly portable code for managing an offscreen buffer for a given Window:
https://github.com/jonthysell/MacLO/blob/main/src/WindowBuffer.h
https://github.com/jonthysell/MacLO/blob/main/src/WindowBuffer.c
/jon