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

<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<script type="text/javascript"> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>

   在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

<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<script type="text/javascript"> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页