Example #1
0
 def __init__(self, fileObject, picWidth, picHeight, type):
     SvgDraw.__init__(self, fileObject, picWidth, picHeight)
     self.period = 80
     self.waveheight = 50
     self.height = 40
     self.distance = self.period / 4
     self.type = type
     self.pic_height = picHeight
     self.pic_width = picWidth
     self.no_waves = 1
     self.values = []
     self.wave_list = [{"values": [], "position": (0, 0)}]