class_docstr: The renderer handles all the drawing primitives using a graphics
  context instance that controls the colors/styles
docstr: Draw the path
docstr_tok: ["Draw","the","path"]
code: def draw_path(self, gc, path, transform, rgbFace=None):
      """
      Draw the path
      """
      nmax = rcParams["agg.path.chunksize"]  # here at least for testing
      npts = path.vertices.shape[0]
  
      if (
          nmax > 100
          and npts > nmax
          and path.should_simplify
          and rgbFace is None
          and gc.get_hatch() is None
      ):
          nch = np.ceil(npts / nmax)
          chsize = int(np.ceil(npts / nch))
          i0 = np.arange(0, npts, chsize)
          i1 = np.zeros_like(i0)
          i1[:-1] = i0[1:] - 1
          i1[-1] = npts
          for ii0, ii1 in zip(i0, i1):
              v = path.vertices[ii0:ii1, :]
              c = path.codes
              if c is not None:
                  c = c[ii0:ii1]
                  c[0] = Path.MOVETO  # move to end of last chunk
              p = Path(v, c)
              try:
                  self._renderer.draw_path(gc, p, transform, rgbFace)
              except OverflowError:
                  raise OverflowError(
                      "Exceeded cell block limit (set "
                      "'agg.path.chunksize' rcparam)"
                  )
      else:
          try:
              self._renderer.draw_path(gc, path, transform, rgbFace)
          except OverflowError:
              raise OverflowError(
                  "Exceeded cell block limit (set "
                  "'agg.path.chunksize' rcparam)"
              )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import numpy
  from collections import OrderedDict
  from math import radians, cos, sin
  from matplotlib import cbook, rcParams, __version__
  from matplotlib.backend_bases import _Backend, FigureCanvasBase, FigureManagerBase, RendererBase, cursors
  from matplotlib.cbook import maxdict
  from matplotlib.figure import Figure
  from matplotlib.font_manager import findfont, 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 import colors
  from matplotlib.backends._backend_agg import RendererAgg
  from matplotlib import _png
label_desc: Use image node_id 10 for calling the RendererAgg obj's underlying member method code with example usage: obj.draw_path(gc, path, transform, rgbFace) without return types