The following convenience functions
provide simple ways to perform graphic display
whose output is directed to a window on the screen,
to an image in memory, to a PostScript file, to a PDF file, or to a printer.
Each of these functions return a Lua table
that defines a number of useful fields and methods.
In particular, all the
painting functions
defined by class qt.QtLuaPainter
can be called directly using the
Lua method syntax
on these tables.