class_docstr: Baseclass for all PointPens.
class_docstr_tok: ["Baseclass","for","all","PointPens","."]
docstr: Add a VarComponent sub glyph. The 'transformation' argument
  must be a DecomposedTransform from the fontTools.misc.transform module,
  and the 'location' argument must be a dictionary mapping axis tags
  to their locations.
docstr_tok: ["Add","a","VarComponent","sub","glyph",".","The","'transformation","'","argument","must","be","a","DecomposedTransform","from","the","fontTools.misc.transform","module",",","and","the","'location","'","argument","must","be","a","dictionary","mapping","axis","tags","to","their","locations","."]
code: def addVarComponent(
      self,
      glyphName: str,
      transformation: DecomposedTransform,
      location: Dict[str, float],
      identifier: Optional[str] = None,
      **kwargs: Any,
  ) -> None:
      """Add a VarComponent sub glyph. The 'transformation' argument
      must be a DecomposedTransform from the fontTools.misc.transform module,
      and the 'location' argument must be a dictionary mapping axis tags
      to their locations.
      """
      # ttGlyphSet decomposes for us
      raise AttributeError
  
imports: import math
  from typing import Any, Optional, Tuple, Dict
  from fontTools.pens.basePen import AbstractPen, PenError
  from fontTools.misc.transform import DecomposedTransform
label_desc: Use image node_id 5 for calling the AbstractPointPen obj's underlying member method code with example usage: obj.addVarComponent(glyphName, transformation, location, identifier) without return types