hi, I use Gambas 2.12 (at this version "draw.rotate" does not work) I want to rotate a market area (Top=207, Left=207, High=110, Width=110) in a drawingarea (High=512, Width=512) image1 = Drawingarea.Grab().Image image2 = image1.Copy(Top, Left, Width, High) from market area image2.rotate(Rad(degrees)) may be dregree=1-359 Draw.Begin(Drawingarea) Draw.Image(Top, Left) from market area Draw.End
It work well, but how can I assign where the rotating point is???? I want rotate in the middle of market area Can give someone an idea? kind regards Jürgen -- View this message in context: http://www.nabble.com/rotating-point-tp24200570p24200570.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user