1.求一个能实现屏幕水波纹效果的vb代码
求一个能实现屏幕水波纹效果的vb代码
'补模块3文件。一个放不下。物业管理系统软件源码
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
' 渲染子程序,视频远程解析源码将新的macd首红源码帧数据渲染到 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
'
首届全国专业标准化技术委员会专场实训在深圳举行
天下財經週報:阿拉斯加吵完架,拜登、習近平本週要碰面了嗎?|天下雜誌
刑事局發生火警 大樓2樓指紋室冒煙
1萬元都付不起!台股當沖違約戶近四成39歲以下,年輕人為何慘賠?|天下雜誌
黑龙江哈尔滨:开展旅游季航空食品专项检查
「台灣第一香」西港香240歲了!遶境禁忌有哪些?追陣必知攻略一覽