Introduction
Overview of PGS
- The PGS Device Model
- The PGS Drawing Model
- PGS Window Placement
- Frames, Viewports, and View Boundaries
- Coordinate Systems
The PGS User Interface Model
- A Textual Interface
- Adding Abstraction Barriers
- Multiplexed I/O and Interrupt Driven I/O
- Event Handling
- Event Handling Functions
void PG_handle_key_down_event(PG_device *d, PG_event *ev) 12
void PG_handle_key_up_event(PG_device *d, PG_event *ev) 12
void PG_handle_mouse_down_event(PG_device *d, PG_event *ev) 12
void PG_handle_mouse_up_event(PG_device *d, PG_event *ev) 12
void PG_handle_update_event(PG_device *d, PG_event *ev) 12
void PG_handle_expose_event(PG_device *d, PG_event *ev) 12
void PG_handle_default_event(PG_device *d, PG_event *ev) 12
- Event Related Macros
- Interface Objects
- Event Handling and Interface Objects
- Portable User Interface Description
- PGS Interface Objects
- Buttons
- Enumerable Variables
- Nonenumerable Variables
- Sliders
- Transients
Rendering Model
- Data Structures
- Rendering Modes
- Rendering Attributes
void *SC_assoc(pcons *alist, char *s) 27
pcons *SC_add_alist(pcons *alist, char *name, char *type, void *val) 27
pcons *SC_rem_alist(pcons *alist, char *name) 27
pcons *SC_change_alist(pcons *alist, char *name, char *type, void *val) 27
void SC_free_alist(pcons *alist, int level) 27
- Attributes
- Plots and associated attributes
The PGS API
- Compiling and Loading
- PGS Functions
- Global State Setting Routines
- Global State Query Routines
- Memory Management Routines
- Device Control Routines
- Device Query Routines
- Coordinate Transformation Routines
- Coordinate System and Viewport Control Routines
- Line Attribute Control Routines
- Text Attribute Control Routines
- Graphical Text I/O Routines
- Point Move Routines
- Primitive Drawing Routines
- Basic Line Drawing Routines
- Axis Drawing Routines
- Colormap Related Routines
- Graph Control Routines
- Line Plot Routines
- Contour Plotting Routines
- Filled Polygon Plot Routines
- Image Plot Routines
- Surface Plot Routines
- Vector Plot Routines
- Level Diagram Plot Routine
- Graphical Interface Routines
- Structures
PG_graph 91
PG_palette 91
PG_device 91
PG_image 91
PG_dev_attributes 92
- PGS Constants
General Purpose Constants 93
Device Characterization Constants 93
Rendering Clear Mode Constants 93
Axis Description Constants 94
Grid Description Constants 95
Vector Description Constants 95
Line Plot Types 95
Rendering Mode Constants 96
Glossary
PGS By Example
- Common Call Sequences
- Initializing a Device
- Making a Picture
- Setting Attributes
- Text Placement and Drawing
- Line Drawing
- Line Plots
- Contour Plots
- Image Plots
- Surface Plots
- Vector Plots
- FORTRAN API Example
Other PACT Documentation