Autore Topic: Aggiunto metodo Window.Screenshot() che ritorna il contenuto di una finestra SDL  (Letto 419 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.269
  • Ne mors quidem nos iunget
    • Mostra profilo
Vi riporto questo messaggio di Minisini:


" In revision #6389, I added a Window.Screenshot() method that returns the
contents of the SDL window as an Image object.

I will add optional arguments so that we can get only a sub-part of the window.

Please check it and tell me if it works for you. I tested it with the BeastScroll example only.

Regards,

--
Benoît Minisini
"
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »