首页  编辑  

旋转Graphics的坐标系

Tags: /C#/图形图像/   Date Created:

Graphics vGraphics = Graphics . FromHwnd(Handle);

vGraphics . RotateTransform( 45 );

vGraphics . DrawLine( Pens . Black, new Point ( 0 , 20 ), new Point ( 100 , 20 ));