[Gambas-user] drawing rectangles on a picture.
Bruce Steers
bsteers4 at gmail.com
Sun Oct 18 14:06:08 CEST 2020
I cannot help with the drawing functions as i've never used them but have
you tried this..
*PictureBox1.Picture = myPicture.Copy()*
Or even more simply...
*PictureBox1.Picture.Load("/media/user01/**Test01.png")*
On Sun, 18 Oct 2020 at 12:57, KKing <kicking177 at gmail.com> 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 ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201018/55598778/attachment.htm>
More information about the User
mailing list