# The following has been generated automatically from src/core/qgsrendercontext.h
try:
    QgsRenderContext.fromMapSettings = staticmethod(QgsRenderContext.fromMapSettings)
    QgsRenderContext.fromQPainter = staticmethod(QgsRenderContext.fromQPainter)
except NameError:
    pass
