1
Fork 0
This commit is contained in:
Bauke 2022-09-25 15:24:51 +02:00
parent 66c23c9f19
commit 8522703997
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 21 additions and 21 deletions

View File

@ -97,7 +97,7 @@ def create_parser() -> argparse.ArgumentParser:
def gegl_graph(height: int, width: int, text: str) -> typing.List[str]: def gegl_graph(height: int, width: int, text: str) -> typing.List[str]:
graph = f""" graph = f"""
gegl:text gegl:text
string={text} string={text}
width={width} width={width}
height={height} height={height}
@ -106,18 +106,18 @@ gegl:text
size=150 size=150
alignment=1 alignment=1
vertical-alignment=1 vertical-alignment=1
gegl:dropshadow gegl:dropshadow
x=0 x=0
y=0 y=0
color=black color=black
opacity=1 opacity=1
grow-radius=4 grow-radius=4
radius=0 radius=0
gegl:long-shadow gegl:long-shadow
angle=90 angle=90
color=black color=black
length=20 length=20
""" """
return re.sub("\s\s+", "\n", graph).strip().splitlines() return re.sub("\s\s+", "\n", graph).strip().splitlines()