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

类别:VB语言 点击:0 评论:0 推荐:

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


在控件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://com.8s8s.com/it/it6429.htm