Once you have a drawing port descriptor, you can use all the drawing functions defined by package lcairo. When using qlua, these functions are emulated using the painting functions defined by package qtwidget. When using lcairo, these functions are native.