hello
the title says everything, i want to rotate an image but it dont rotate around his center it rotates in a circle around the form.
if I put in DrawImage(m,0,0) i works great but i dont want to rotate the image in the corner.Code:for(int i=0;i<500;i++) { Image m=Image.FromFile("C:/p1.png"); using(Graphics g=this.CreateGraphics()) { g.TranslateTransform(m.Width/2,m.Height/2); g.RotateTransform(i); g.TranslateTransform(-m.Width/2,-m.Height/2); g.DrawImage(m,new Point(100,100)); } }
sorry for the english but I think you understud what I ask