5.6 Summary

In this section we have introduced some of the graphics capabilities of XPCE. XPCE's graphics are built from primitive and compound graphicals. A compound graphical has its own coordinate system in which it can display any graphical object including other compound objects. Graphical objects can be connected to each others using a connection. This facility makes the generation of graphs relatively simple. It also makes it very simple to extract the graph represented by a drawing made by the user.

Graphical objects are made sensitive to mouse and keyboard activities by attaching recogniser objects to them. XPCE defines standard recognisers for various complex operations such as moving, resizing, popup-menu's, linking graphicals and clicking on graphicals.