Parameters & Returns
Parameters
Returns
Quick Summary
Presents a canvas to the screen (flushes its 2D draws and swaps its buffer).
Technical Exegesis...
Finalises and displays a canvas: flushes the batched 2D primitives, images and text into the canvas render target and presents its swap chain. Call it after the canvas's b2dCls + b2d* draw calls each frame. Do NOT use b2dFlip for a canvas - that presents the main window; use bgiFlipCanvas per canvas. Each canvas presents independently, so different canvases can update at different rates. VSync follows the graphics context's sync setting.
Example
bgiSetActiveCanvas(canvas)
b2dCls()
bgiFlipCanvas(canvas)
bgiSetActiveCanvas(-1)