Defines | |
| #define | PGFX_IMMEDIATE 1 |
| PGFX canvas immediate mode. | |
| #define | PGFX_PERSISTENT 2 |
| PGFX canvas persistent mode. | |
Functions | |
| pgcontext | pgNewCanvasContext (pghandle canvas, short mode) |
| Create a context for rendering to a canvas. | |
| pgcontext | pgNewBitmapContext (pghandle bitmap) |
| Create a context for rendering to a bitmap. | |
| void | pgDeleteContext (pgcontext c) |
| Delete a PGFX context. | |
|
|
PGFX canvas immediate mode. All primitives are rendered, but not stored. Note that this includes nonvisual primitives like pgSetColor, pgSetMapping, and pgSetLgop. For a slightly lower-level explanation, this mode sets the default gropnode flags to PG_GROPF_TRANSIENT so that gropnodes are deleted immediately after rendering.
|
|
|
PGFX canvas persistent mode. Primitives are rendered and stored in the PicoGUI server. This allows automatic redrawing by the server without client intervention. Primitives can be manipulated after being sent to the server.
|
|
|
Delete a PGFX context.
|
|
|
Create a context for rendering to a bitmap.
bitmap may be zero to render directly to the display if your application has registered for exclusive display access.
|
|
||||||||||||
|
Create a context for rendering to a canvas.
|
1.3-rc3