code: def to_glyphs_glyph_anchors(self, ufo_glyph, layer):
      
      for ufo_anchor in ufo_glyph.anchors:
          anchor = self.glyphs_module.GSAnchor()
          anchor.name = ufo_anchor.name
          anchor.position = Point(ufo_anchor.x, ufo_anchor.y)
          layer.anchors.append(anchor)
docs: Add UFO glif anchors to a GSLayer.