Rotating graphics?

前端 未结 5 1350
悲&欢浪女
悲&欢浪女 2020-12-06 02:07

I have this code, that draws an image.

private void timer1_Tick(object sender, EventArgs e)
{
    Invalidate();
}

protected override void OnPaint(PaintEvent         


        
5条回答
  •  一整个雨季
    2020-12-06 02:35

    You need to apply transformation matrix. Here you can find good example about transformations in GDI+

提交回复
热议问题