# The following has been generated automatically from src/core/textrenderer/qgstextdocumentmetrics.h
try:
    QgsTextDocumentMetrics.calculateMetrics = staticmethod(QgsTextDocumentMetrics.calculateMetrics)
    QgsTextDocumentMetrics.__group__ = ['textrenderer']
except NameError:
    pass
try:
    QgsTextDocumentRenderContext.__group__ = ['textrenderer']
except NameError:
    pass
