[Gambas-user] how copy the screen to memory on a sdl project
Jack
jscops at ...11...
Fri Jul 18 15:05:38 CEST 2014
Le 18/07/2014 14:14, Julio Sanchez a écrit :
> Jack:
>
>> with a Gambas command ?
> gb.desktop component with:
>
> Dim p As Picture
> p =Desktop.Screenshot(x1, y1, x2 , y2 )
> p.save ("filename.png")
>
>
> ' link: http://gambasdoc.org/help/comp/gb.desktop/desktop/screensaver?en&v3
>
> But not if you're going to run gb.sdl
sorry Julio, but I only have sdl.
It's a pity we cannot copy part of the screen in a picture variable. we
could draw a figure in one part of the screen and then we could post it
everywhere else.
--
Cordialement
Jacky Tripoteau
More information about the User
mailing list