Main Page Modules Alphabetical List Compound List File List Compound Members File Members

# Data Structures
[PGFX Graphics Interface]

## Compounds
struct | pgfx_context
| Rendering context. More...
struct | pgfx_lib
| Defines the rendering backend. More...
## Typedefs
typedef int | pgu
| Unit for coordinates in PGFX.
typedef int | pgprim
| Reference to a stored primitive.
typedef pgfx_context * | pgcontext
| Rendering context.

## Detailed Description

A few of the PGFX defined data structures, like pgcolor and pgu, will be useful to any client that uses PGFX. Most of these however should be for internal use only.

## Typedef Documentation

typedef struct pgfx_context * pgcontext

| Rendering context. This defines a rendering method and a device to output to. It may be a canvas, bitmap, or any other device. The members of this structure are not to be used by the client, only the PGFX rendering backend. Their values are defined by the rendering functions, and modification or interpretation by the client may have unexpected results. See also: pgNewCanvasContext, pgDeleteContext

typedef int pgprim

| Reference to a stored primitive. If the underlying output device is one that stores primitives, for example the canvas in PGFX_PERSISTENT mode, this number can be used to refer to the primitive later. Currently this functionality is unimplemented in PGFX. To manipulate primitives in the canvas widget the pgWriteCmd interface must be used. See also: pgWriteCmd

typedef int pgu

| Unit for coordinates in PGFX.