code: def _adjust_anchors(anchor_data, ufo, component):
      
  
      glyph = ufo[component.baseGlyph]
      t = Transform(*component.transformation)
      for anchor in glyph.anchors:
          # only adjust if this anchor has data and the component also contains
          # the associated mark anchor (e.g. "_top" for "top")
          if anchor.name in anchor_data and any(
              a.name == "_" + anchor.name for a in glyph.anchors
          ):
              anchor_data[anchor.name] = t.transformPoint((anchor.x, anchor.y))
docs: Adjust anchors to which a mark component may have been attached.