[Gambas-user] drawing rectangles on a picture.

Fabien Bodard gambas.fr at gmail.com
Mon Oct 19 17:23:48 CEST 2020


Hum Charlie... why not having added a way to rotate objects directly
on objects ? :-D

Good work


Le dim. 18 oct. 2020 à 17:40, Charlie Ogier <charlie at cogier.com> a écrit :
>
> Hi K,
>
> Have a look on the Farm for 'ScreenShot' or you can download it from here. This program allows you to draw all sorts on an image and save it. You can also re-edit it.
>
> Here is a video of what it can do and it's all written in Gambas.
>
> Charlie
>
>
> On 18/10/2020 12:56, KKing wrote:
>
> So I want to load a png, then draw some rectangles on it and resave it.
>
> Any pointers, after reading and searching I'm just confused by Draw, Paint, DrawingArea, PictureBox etc.
>
> Also why does
>     PictureBox1.Picture = Picture.Load("/media/user01/Test01.png")
> work but
>   myPicture = New Picture
>   myPicture.Load("/media/user01/Test01.png")
>   PictureBox1.Picture = myPicture
> does not ?
>
> K.
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----



-- 
Fabien Bodard


More information about the User mailing list