Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: 'Print' window to file?  (Read 2467 times)

0 Members and 1 Guest are viewing this topic.

F2CPP

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • StackOverflow
'Print' window to file?
« on: June 09, 2014, 03:27:39 pm »
Is it possible in SFML to print the current window to a file format that can be converted to a picture e.g. png?

E.g.
...
window.clear();
window.draw(...);
window.print(...); // place holder for any implementation
window.display()
...

Thanks

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: 'Print' window to file?
« Reply #1 on: June 09, 2014, 04:02:16 pm »
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

 

anything