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

   在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

你可能感兴趣的:(vb)