[Gambas-user] rotating point

Benoît Minisini gambas at ...1...
Thu Jun 25 21:25:14 CEST 2009


> Hi,
> thank you for answering of my question.
> enclosed is the source you want as attachment.
>
> hope you have a solution.
>
> PS: I'm writting a program for making lasershow under linux
>
> thank you and kind regards
> Jürgen
>

First, you must not use DrawingArea.Grab(), because it is very slow, and don't 
work if the DrawingArea is covered by another window or widget.

You must draw inside a Picture instead.

Then, rotating an image is always done around its center. Which GUI component 
do you use?

And I suggest you send a full project, not just the internal of a function.

Regards,

-- 
Benoît




More information about the User mailing list