Next: draw.c - Basic Drawing
Up: The DrawingArea Widget
Previous: DrawingArea Resources and Callbacks
We are now in a position to draw 2D graphics in Motif. Recall that all graphics
is done by Xlib and so we have to attach the higher level motif widgets
to the low level Xlib structures.
We basically need to do
- Create a DrawingArea widget perhaps contained in other widgets.
- Obtain the Xlib Display, Window, etc. ID's of the DrawingArea
- Draw, shade etc. using Xlib routines.