[Gambas-user] rotate a line
juelin
juergen.linder at ...17...
Mon Jun 22 15:06:07 CEST 2009
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.
More information about the User
mailing list