bgiFlipCanvas

Category: BGI GUI

Syntax:

bgiFlipCanvas:Void(canvasID:Int)


Parameters

Returns

Void



Summary

Ends the frame begun by b2dCls with this canvas active, and shows it in the canvas.

Takes canvasID (Int). The frame goes to the canvas that was active at b2dCls. It appears at the next sysUpdateEvents. Calling it with no frame begun does nothing.

Returns nothing.

View detailed documentation online



Example
bgiSetActiveCanvas(canvas)
b2dCls()
; ... b2d* draw calls ...
bgiFlipCanvas(canvas)
bgiSetActiveCanvas(-1)

BambooBasic © 2026 Michael Denathorn