[Gambas-user] drawing rectangles on a picture.

KKing kicking177 at gmail.com
Sun Oct 18 13:56:49 CEST 2020


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.



More information about the User mailing list