在VB中用Paintpicture方法进行图形处理

发表于:2007-07-14来源:作者:点击数: 标签:
在控件picture1中放一张源图,在控件picture2上进行图形处理:



1.复制:picture2.paintpicture picture1.picture,0,0,picture2.width,picture.height,0,0, -



picture1.width,picture1.height



2.图形左右倒置:picture2.paintpicture picture1.picture,0,0,picture2.width,picture2.height,picture1.width,0, -



-picture1.width,picture1.height



3.图形上下倒置:picture2.paintpicture picture1.picture,0,0,picture2.width,picture2.height,0, picture1.height,-



picture1.width,- picture1.height

原文转自:http://www.ltesting.net