cant get screen.paint() to render something
See original GitHub issueHi,
according to the docs http://asciimatics.readthedocs.io/en/stable/rendering.html#rendering I should be able to render a figlet using
Pre-render ASCIIMATICS using the big Figlet font
renderer = FigletText("ASCIIMATICS", font='big')
and then calling “paint”
like
screen.paint(renderer, 0, 0)
this however does not work, I can not find this in the docs so I can only use a Scene to render a figlettext?
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Print Screen Fails When Pasting into Paint - Microsoft Support
Method 2. Open Paint. On the Options menu, click Draw Opaque. Paste in the image.
Read more >Java clears screen when calling paint method - how to avoid ...
I'm trying to draw two lines in a Canvas in Java, calling two methods separately, but when I draw the second line, the...
Read more >Fixed: Print Screen Not Working on Windows 10 | SoftwareKeep
Here are 6 solutions on how to fix print screen not working in Windows 10. Click here to get started.
Read more >First Screen Paint In Advance - W3C
Blindly make the first screen content painted in advance will cause painting disorder and performance regression. Web developers can indicate ...
Read more >9 tricks to eliminate render blocking resources - LogRocket Blog
Use the defer and async attributes to eliminate render-blocking JavaScript; Find and remove unused CSS and JavaScript; Split code into smaller ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m assuming that this has fixed your problem. Now closing.
Ok - I see the issue now. You can’t just pass the renderer straight in to paint. You need something like this.
This is taken from the Print class, so you’ll need to fix up the use of object member variables.