> 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 ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
