首页  编辑  

改变Graphics的原点坐标

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

Graphics vGraphics = Graphics . FromHwnd(Handle);

vGraphics . TranslateTransform(ClientSize . Width, 0 );

vGraphics . DrawLine( Pens . Black, new Point ( - 10 , 10 ), new Point ( - 10 , 100 ));