[Gambas-user] drawing rectangles on a picture.

Charlie Ogier charlie at cogier.com
Tue Oct 20 18:08:11 CEST 2020


Hi Fabien and thanks for the kind words. Do you mean you think that the 
whole drawing item should rotate?

On 19/10/2020 16:23, Fabien Bodard wrote:
> 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 ]----
>
>



More information about the User mailing list