예제 #1
0
 def _set_base_selectedBPoints(self, value):
     normalized = []
     for i in value:
         if isinstance(i, int):
             i = normalizers.normalizeBPointIndex(i)
         else:
             i = normalizers.normalizeBPoint(i)
         normalized.append(i)
     self._set_selectedBPoints(normalized)
예제 #2
0
파일: contour.py 프로젝트: moyogo/fontparts
 def _set_base_selectedBPoints(self, value):
     normalized = []
     for i in value:
         if isinstance(i, int):
             i = normalizers.normalizeBPointIndex(i)
         else:
             i = normalizers.normalizeBPoint(i)
         normalized.append(i)
     self._set_selectedBPoints(normalized)