It is necessary that the picture would turn in the direction of the mouse. The angle is calculated so -
m.RotateAt( (float) (Math.Atan2(MousVect.X -14, MousVect.Y ) * (180 / Math.PI))+ 90,new Point(601,578) ); Gr.Transform = m; Gr.DrawImage(car, new Point(600-17,600-40)); Where MousVect X, Y - values of the vector with the beginning in the middle of the picture and the end in the current coordinates of the mouse. The image vector is always 14.0. The problem is that in the interval of 0 - 180 degrees and 0 - (-180) degrees, the picture is directed in the opposite direction from the mouse. Where did I make a mistake?