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