Lines Matching refs:compilePoints
381 compilePoints = lambda p: TupleVariation.compilePoints(set(p), numPointsInGlyph=999) function
382 self.assertEqual("00", hexencode(compilePoints(range(999)))) # all points in glyph
383 self.assertEqual("01 00 07", hexencode(compilePoints([7])))
384 self.assertEqual("01 80 FF FF", hexencode(compilePoints([65535])))
385 self.assertEqual("02 01 09 06", hexencode(compilePoints([9, 15])))
386 self.assertEqual("06 05 07 01 F7 02 01 F2", hexencode(compilePoints([7, 8, 255, 257, 258, 500])))
387 self.assertEqual("03 01 07 01 80 01 EC", hexencode(compilePoints([7, 8, 500])))
388 self.assertEqual("04 01 07 01 81 BE E7 0C 0F", hexencode(compilePoints([7, 8, 0xBEEF, 0xCAFE])))
394 hexencode(compilePoints(range(300))))
400 hexencode(compilePoints(range(399))))
454 compile = lambda points: TupleVariation.compilePoints(points, numPointsInGlyph)