Esempio n. 1
0
 def render(self):
     img = SimpleImage(self.filename)
     for text,x,y in self.tex:
         img.create_text(text,x,y, FONT_FILE,size=SIZE,color=COLOR)
     img.show()
     
 def render(self):
     img = SimpleImage(self.filename)
     for text, x, y in self.tex:
         img.create_text(text, x, y, FONT_FILE, size=SIZE, color=COLOR)
     img.show()
     img.pil_image.save('simpleccode.jpg')
Esempio n. 3
0
 def render(self):
     img = SimpleImage(self.filename)
     for text, x, y, size in self.tex:
         img.create_text(text, x, y, FONT_FILE, size=size, color=COLOR)
     img.show()
     img.pil_image.save('F-F-Everywhere.jpg')
Esempio n. 4
0
 def render(self):
     img = SimpleImage(self.filename)
     for text, x, y, size, color in self.text:
         img.create_text(text, x, y, FONT_FILE, size=size, color=color)
     img.show()