Lines Matching full:anchors
391 anchors
473 anchors
684 anchors
783 # anchors
784 anchors = getattr(glyphObject, "anchors", None)
785 if formatVersion.major >= 2 and anchors:
792 if formatVersion.major == 1 and anchors:
793 _writeAnchorsFormat1(pen, anchors, validate)
835 anchors
964 def _writeAnchorsFormat1(pen, anchors, validate): argument
965 if validate and not anchorsValidator(anchors):
966 raise GlifLibError("anchors attribute does not have the proper structure.")
967 for anchor in anchors:
982 anchors = getattr(glyphObject, "anchors", [])
983 if validate and not anchorsValidator(anchors):
984 raise GlifLibError("anchors attribute does not have the proper structure.")
985 for anchor in anchors:
1228 anchors = []
1281 anchors.append(attrib)
1310 # set the collected anchors
1311 if anchors:
1312 if validate and not anchorsValidator(anchors, identifiers):
1313 raise GlifLibError("The anchors are improperly formatted.")
1314 _relaxedSetattr(glyphObject, "anchors", anchors)
1389 anchors = []
1397 anchors.append(anchor)
1406 if glyphObject is not None and anchors:
1407 if validate and not anchorsValidator(anchors):
1408 raise GlifLibError("GLIF 1 anchors are not properly formatted.")
1409 _relaxedSetattr(glyphObject, "anchors", anchors)