hi,
I have some problems with rotate.
In a drawingarea I draw a line (100,100 to 300,100). Then I load the graphic
into an image (90,90 to 310,110). I rotate the image with image.rotate(90)
and show the image into drawingarea with 
draw.image(image,90,90).
But the graphic is anywhere on screen and not rotated 90°.
Also it rotated not in the middle of rect, it rotated on top,left of rect.
What must I do? Please a example
kind regards
-- 
View this message in context: 
http://www.nabble.com/rotate-a-line-tp24146872p24146872.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to