With the help of a GC
it is possible to draw on a
Canvas
widget.
The usual functions like dots, lines, (rounded) rectangles, ovals, polylines,
arcs, text and images are supported. All shapes can be outlined or (when
closed) filled with any color and opacity.
Try the example on the left. The controls at the bottom are: