RosettaCodeData/Task/Hello-world-Graphical/Frink/hello-world-graphical.frink

8 lines
236 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
g = new graphics
g.font["SansSerif", 10]
g.text["Goodbye, World!", 0, 0, 10 degrees]
g.show[]
g.print[] // Optional: render to printer
g.write["GoodbyeWorld.png", 400, 300] // Optional: write to graphics file