code: def skPathFromGlyphComponent(
      component: _g_l_y_f.GlyphComponent, glyphSet: _TTGlyphMapping
  ):
      baseGlyphName, transformation = component.getComponentInfo()
      path = skPathFromGlyph(baseGlyphName, glyphSet)
      return path.transform(*transformation)
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/removeOverlaps.py
imports: import itertools
  import logging
  from typing import Callable, Iterable, Optional, Mapping
  from fontTools.misc.roundTools import otRound
  from fontTools.ttLib import ttFont
  from fontTools.ttLib.tables import _g_l_y_f
  from fontTools.ttLib.tables import _h_m_t_x
  from fontTools.pens.ttGlyphPen import TTGlyphPen
  import pathops
label_desc: Use image node_id 2 for calling a global function with example usage: skPathFromGlyphComponent(component, glyphSet) and returns: path