class_docstr: A class that convert a given text to a path using ttf fonts.
code: def get_text_width_height_descent(self, s, prop, ismath):
      if rcParams["text.usetex"]:
          texmanager = self.get_texmanager()
          fontsize = prop.get_size_in_points()
          w, h, d = texmanager.get_text_width_height_descent(
              s, fontsize, renderer=None
          )
          return w, h, d
  
      fontsize = prop.get_size_in_points()
      scale = fontsize / self.FONT_SCALE
  
      if ismath:
          prop = prop.copy()
          prop.set_size(self.FONT_SCALE)
  
          (
              width,
              height,
              descent,
              trash,
              used_characters,
          ) = self.mathtext_parser.parse(s, 72, prop)
          return width * scale, height * scale, descent * scale
  
      font = self._get_font(prop)
      font.set_text(s, 0.0, flags=LOAD_NO_HINTING)
      w, h = font.get_width_height()
      w /= 64.0  # convert from subpixels
      h /= 64.0
      d = font.get_descent()
      d /= 64.0
      return w * scale, h * scale, d * scale
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from collections import OrderedDict
  import six
  from six.moves import zip
  import warnings
  import numpy
  from matplotlib.path import Path
  from matplotlib import rcParams
  import matplotlib.font_manager
  from matplotlib.ft2font import KERNING_DEFAULT, LOAD_NO_HINTING
  from matplotlib.ft2font import LOAD_TARGET_LIGHT
  from matplotlib.mathtext import MathTextParser
  import matplotlib.dviread
  from matplotlib.font_manager import FontProperties, get_font
  from matplotlib.transforms import Affine2D
  from six.moves.urllib.parse import quote
label_desc: Use image node_id 8 for calling the TextToPath obj's underlying member method code with example usage: obj.get_text_width_height_descent(s, prop, ismath) and returns: unknown,  unknown,  unknown, w,  h,  d, unknown,  unknown,  unknown