Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def efecto_escritura(x, y, color,texto):
- texto_completo = texto
- ultimo_texto=''
- imagen_inicial = gimp.image_list()[0]
- #Color del texto
- gimp.set_foreground(color)
- # Parámetros Fuente
- fontname= 'Sans' #Tipo de letra
- size_type=PIXELS
- size= 30 #Tamaño
- antialias = True
- border = 0
- #y = 0
- #x = 0
- drawable = None
- image = imagen_inicial
- for i in texto_completo:
- ultimo_texto=ultimo_texto+i
- layer = pdb.gimp_text_fontname(image, drawable, x, y, ultimo_texto, border, antialias, size, size_type, fontname)
- print(ultimo_texto)
- efecto_escritura(58,209,(255, 255, 255), 'Stackoverflow en español')
- print(sys.version)
- 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement