在VB中用Paintpicture方法進行圖形處理 (轉)

worldblog發表於2007-12-12
在VB中用Paintpicture方法進行圖形處理 (轉)[@more@]

  在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


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752043/viewspace-991728/,如需轉載,請註明出處,否則將追究法律責任。

相關文章