Lines Matching refs:unit
127 def speech_bubble(cr, top_left, size, unit):
129 top left corner at Point(2.0 * unit, 2.0 * unit)"""
131 cr.arc(centre.x, centre.y, unit, angleFrom * math.pi,
135 cr.rel_line_to(unit * 2.0, unit)
137 local_arc(top_left + Point(size.x + unit * 2.0, unit * 2.0), -0.5, 0.0)
139 local_arc(top_left + Point(size.x + unit * 2.0, size.y + unit * 2.0),
142 local_arc(top_left + Point(unit * 2.0, size.y + unit * 2.0), 0.5, 1.0)
173 def __init__(self, picChar, unit, topLeft, colour, size = Point(1,1)):
175 self.unit = unit
176 self.displayName = unit
196 def __init__(self, picChar, unit, topLeft=Point(0,0),
199 super(Block,self).__init__(picChar, unit, topLeft, colour,
215 event = model.BlobEvent(self.unit, time)
352 if self.unit == '_':
360 def __init__(self, picChar, unit, topLeft, colour=colours.black,
362 super(Key,self).__init__(picChar, unit, topLeft, colour, size = size)
364 self.displayName = unit
422 def __init__(self, unit, topLeft, colour=colours.black,
424 super(Arrow,self).__init__(unit, unit, topLeft, colour, size = size)