CSDN博客

img guangming

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

发表于2002/3/18 19:03:00  5898人阅读

   在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

阅读全文
0 0

相关文章推荐

img
取 消
img