BAP Online Manuals : XWIO: X-Windows Front Server : Graphics Windows
Previous: Debugging Example
Next: Dynamic Data Exchange

5.11. Graphics Windows

PROLOG applications can access simple graphics functions in the X-windows system. Similar to 'simple windows' , these graphics windows can be opened in any number by any PROLOG process. Output is controlled by a set of predicates described in the library reference manual. These graphics commands are stored and processed by Xwio. This method allows the Xwio server to update the window when necessary without asking PROLOG to re-send the graphics commands. The user can resize or iconize a graphics window as he wishes; Xwio will resize the contents according to the window's size. A graphics window can only be closed by a PROLOG process.

The current implementation of the graphics library is intended as a demonstration only. The graphics capabilities are used by a few example programs included on the distribution media.

If the use of graphics in PROLOG programs is asked for by users, we will gladly increase our efforts in this area. Please contact our support for details.

Graphic library predicates:
makegraphwin , filledpolygon , filledellipse , enddraw


BAP Online Manuals : XWIO: X-Windows Front Server : Graphics Windows
Previous: Debugging Example
Next: Dynamic Data Exchange