1.求一个能实现屏幕水波纹效果的缓冲vb代码
求一个能实现屏幕水波纹效果的vb代码
'补模块3文件。一个放不下。区透轻应用 源码
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
' 渲染子程序,视源选号源码php将新的码缓支付平台 完整 源码帧数据渲染到 lpDIBitsRender 中
' 算法:
' posx = Wave1(x-1,y)-Wave1(x+1,y)+x
' posy = Wave1(x,y-1)-Wave1(x,y+1)+y
' SourceBmp(x,y) = DestBmp(posx,posy)
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Public Sub WaveRender(lpWaveObject As WAVE_OBJECT)
Dim dwPosX As Long, dwPosY As Long, dwPtrSource As Long, dwPtrDest As Long, dwFlag As Long
Dim lpWave1 As Long, LineIdx As Long, LinePtr As Long
Dim lpDIBitsSource As Long, lpDIBitsRender As Long
Dim I As Long, J As Long
dwFlag = 0
With lpWaveObject
'Debug.Print "WaveRender " & .dwFlag
If (.dwFlag And F_WO_ACTIVE) = 0 Then Exit Sub
.dwFlag = .dwFlag Or F_WO_NEED_UPDATE
lpWave1 = .lpWave1
LineIdx = .dwWaveByteWidth '像素指针
For I = 1 To .dwBmpHeight - 2
For J = 0 To .dwBmpWidth - 1
'
2024-12-22 23:4579人浏览
2024-12-22 23:412644人浏览
2024-12-22 23:382262人浏览
2024-12-22 23:131440人浏览
2024-12-22 22:541337人浏览
2024-12-22 22:35410人浏览
3月9日,在巴基斯坦首都伊斯蘭堡的國民議會議會下院)內,巴基斯坦人民黨聯合主席阿西夫·阿里·扎爾達里投下總統選舉的選票。新華社) 3月10日,國家主席習近平致電阿西夫·扎爾達里,祝賀他當選巴基斯坦總
1.加油站不间断电源ups标准2.燃油API什么意思3.让人爱不释手的API工具——Postman4.API是什么意思?加油站不间断电源ups标准 加油站不间断电源(Uninterruptible
1.如何判断信用卡八位卡号是否合乎规范2.ios代码怎么查看?3.用C语言编写一个简单的图书管理小程序如何判断信用卡八位卡号是否合乎规范 编写程序代码如下即可判断用户输入的八位信用卡号码是否合法了