Lines Matching refs:anchors
695 anchors = getattr(glyphObject, "anchors", None)
696 if formatVersion.major >= 2 and anchors:
703 if formatVersion.major == 1 and anchors:
704 _writeAnchorsFormat1(pen, anchors, validate)
855 def _writeAnchorsFormat1(pen, anchors, validate): argument
856 if validate and not anchorsValidator(anchors):
858 for anchor in anchors:
872 anchors = getattr(glyphObject, "anchors", [])
873 if validate and not anchorsValidator(anchors):
875 for anchor in anchors:
1096 anchors = []
1141 anchors.append(attrib)
1171 if anchors:
1172 if validate and not anchorsValidator(anchors, identifiers):
1174 _relaxedSetattr(glyphObject, "anchors", anchors)
1235 anchors = []
1243 anchors.append(anchor)
1252 if glyphObject is not None and anchors:
1253 if validate and not anchorsValidator(anchors):
1255 _relaxedSetattr(glyphObject, "anchors", anchors)