code: def get_text_width_height_descent(self, s, prop, ismath):
      if ismath:
          (
              ox,
              oy,
              width,
              height,
              descent,
              font_image,
              used_characters,
          ) = self.mathtext_parser.parse(s, self.dpi, prop)
          return width, height, descent
  
      layout, inkRect, logicalRect = self._get_pango_layout(s, prop)
      l, b, w, h = inkRect
      ll, lb, lw, lh = logicalRect
  
      return w, h + 1, h - lh
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import warnings
  import gobject
  import gtk
  import pango
  import numpy
  import matplotlib
  from matplotlib import rcParams
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.backend_bases import _Backend, FigureCanvasBase, FigureManagerBase, GraphicsContextBase, RendererBase
  from matplotlib.cbook import warn_deprecated
  from matplotlib.mathtext import MathTextParser
  from matplotlib.transforms import Affine2D
  from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array
label_desc: Use image node_id 12 for calling the RendererGDK obj's underlying member method code with example usage: obj.get_text_width_height_descent(s, prop, ismath) and returns: w,  unknown,  unknown, width,  height,  descent