2006年8月19日
摘要: 图形图像与多媒体编程1.1 GDI+概述1.1.1 Graphics类Graphics类包含在System.Drawing名称空间下。要进行图形处理,必须首先创建Graphics对象,然后才能利用它进行各种图画操作。创建Graphics对象的形式有:1. 在窗体或控件的Paint事件中直接引用Graphics对象。Private void Form_Paint(object sender,System.Windows.Forms.PaintEventArgs e){ Grahpics g=e.Graphics;}2. 从当前窗体获取对Graphics对象的引用。Graphics g=this. 阅读全文
posted @ 2006-08-19 23:34 wkjs 阅读(366) 评论(0) 推荐(0) 编辑