class_docstr: The renderer handles all the drawing primitives using a graphics
  context instance that controls the colors/styles
docstr: Draw mathtext using :mod:`matplotlib.mathtext`.
docstr_tok: ["Draw","mathtext","using",":","mod",":","`","matplotlib.mathtext","`","."]
code: def draw_mathtext(self, gc, x, y, s, prop, angle):
      """Draw mathtext using :mod:`matplotlib.mathtext`."""
      (
          ox,
          oy,
          width,
          height,
          descent,
          font_image,
      ) = self.mathtext_parser.parse(
          s, self.dpi, prop, antialiased=gc.get_antialiased()
      )
  
      xd = descent * sin(radians(angle))
      yd = descent * cos(radians(angle))
      x = round(x + ox + xd)
      y = round(y - oy + yd)
      self._renderer.draw_text_image(font_image, x, y + 1, angle, gc)
  
imports: from contextlib import nullcontext
  from math import radians, cos, sin
  import numpy
  import matplotlib
  from matplotlib import _api, cbook
  from matplotlib.backend_bases import _Backend, FigureCanvasBase, FigureManagerBase, RendererBase
  from matplotlib.font_manager import fontManager, get_font
  from matplotlib.ft2font import LOAD_FORCE_AUTOHINT, LOAD_NO_HINTING, LOAD_DEFAULT, LOAD_NO_AUTOHINT
  from matplotlib.mathtext import MathTextParser
  from matplotlib.path import Path
  from matplotlib.transforms import Bbox, BboxBase
  from matplotlib.backends._backend_agg import RendererAgg
label_desc: Use image node_id 6 for calling the RendererAgg obj's underlying member method code with example usage: obj.draw_mathtext(gc, x, y, s, prop, angle) without return types