COffscreencontext difficulties (from 3.6 to 4.3)[SOLVED]

I’ve read the deoxygen doc, on which there is only an example for drawing a line (I tried it and that works)

I read that COffscreenContest is not working the same n 4.x than in 3.6, but without more explanation or sample (just saying it’s no use for reducing flicker, but that’s not my purpose)

Maybe there is an other document, but I didn’t find it (I’m searching around since a few days though)

Best
Xavier