下载地址:
下载地址1资源简介:
全局变形和局部变形,图形填充,PaintC#源代码Graphics myGraphics=e.Graphics; Rectangle myRectangle = new Rectangle(100, 100, 60, 60); GraphicsPath myGraphicsPath = new GraphicsPath(); myGraphicsPath.AddRectangle(myRectangle); SolidBrush mySolidBrush1=new SolidBrush(Color.Blue); myGraphics.FillPath(mySolidBrush1, myGraphicsPath); Matrix myPathMatrix = new Matrix(); myPathMatrix.Scale(2, 1); myPathMatrix.Rotate(30, MatrixOrder.Append); myGraphicsPath.Transform(myPathMatrix); SolidBrush mySolidBrush2=new SolidBrush(Color.Red); myGraphics.FillPath(mySolidBrush2, myGraphicsPath); myGraphics.DrawEllipse(Pens.Blue, 0, 0, 100, 50); myGraphics.ScaleTransform(1, 0.5f); myGraphics.TranslateTransform(50, 0, MatrixOrder.Append); myGraphics.RotateTransform(30, MatrixOrder.Append); myGraphics.DrawEllipse(Pens.Red, 0, 0, 100, 50);VisualStudio2008创建
飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。
相关资源:
实现基于ASP.NET + C#源代码和例子的TreeViewGrid控制程序.rar
用一个形象的例子来创建皮肤的形式,非常不错的多媒体播放界面,C#源代码this.TransparencyKey = Color.White;.rar
移动箭头键来浏览图片,C#源代码,如果(this.MyBmp!= NULL).rar
使用ArrayList对象填充DataGrid中,C#源代码ArrayList的“我的书目选单”=新的ArrayList();.rar
梯度渐变,C#源代码的LinearGradientBrush linGrBrush的新的LinearGradientBrush(.rar
油漆方法渐变的窗口背景,使用System.Drawing.Drawing2D应用的C#源代码图形G = e.Graphics;.rar