class_docstr: The renderer handles all the drawing primitives using a graphics
  context instance that controls the colors/styles
code: def draw_tex(self, gc, x, y, s, prop, angle, *, mtext=None):
      # docstring inherited
      # todo, handle props, angle, origins
      size = prop.get_size_in_points()
  
      texmanager = self.get_texmanager()
  
      Z = texmanager.get_grey(s, size, self.dpi)
      Z = np.array(Z * 255.0, np.uint8)
  
      w, h, d = self.get_text_width_height_descent(
          s, prop, ismath="TeX"
      )
      xd = d * sin(radians(angle))
      yd = d * cos(radians(angle))
      x = round(x + xd)
      y = round(y + yd)
      self._renderer.draw_text_image(Z, x, y, 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 9 for calling the RendererAgg obj's underlying member method code with example usage: obj.draw_tex(gc, x, y, s, prop, angle) without return types