If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
This is example of how to output cairo generation from controller's function. ...