Programming in XPCE/Prolog

# 5 Simple graphics

In chapter 2 we introduced the principal predicates of XPCE. For the examples we used controllers, because these are relatively easy to use. In this section we present the basic graphical components. These are more general and therefore can be applied in many more situations, but they are also more difficult to use.

This section only introduces the basics of graphics in XPCE. See also Wielemaker, 1992. The online manual and the demo programs provide more information on using XPCE's graphics.

## Section Index