发一个水波纹的特效

vb2014 2011-06-06 01:55:49

'handle 放置特效窗口的父窗口句柄。
'Left 左位置
'Top 上位置
'Bmp 位图句柄。
'WaterRadius 水纹半径,会令到水纹看起来范围更广。
'WaterHeight 水纹高度,会令到水纹看起来更深。
'注意,水纹插件自动根据图片来设定高度和宽度,
'另外水纹底图必须是翻转的图片,显示的时候会翻转图片来显示。
[DllImport("waterctrl.dll")]
private static bool enablewater(int Handle, int left, int top, int bitmapHandle, int WaterRadius, int WaterHeight)
{
}

' 在 x,y 点产生半径为radius, 高度为height 的水纹。
[DllImport("waterctrl.dll")]
private static bool waterblob(int x, int y, int radius, int height)
{
}
' 释放水纹插件
[DllImport("waterctrl.dll")]
private static bool disablewater()
{
}
'平伏所有水纹
[DllImport("waterctrl.dll")]
private static bool flattenwater()
{
}

'v2 新增,设置水纹插件的父句柄
[DllImport("waterctrl.dll")]
private static bool setwaterparent(int HWND)
{
}


http://download.csdn.net/source/3342563
...全文
128 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
jason19880221 2011-08-09
  • 打赏
  • 举报
回复
我也看不懂
  • 打赏
  • 举报
回复
很多API有特效
cfzxzongyongbo 2011-06-06
  • 打赏
  • 举报
回复
大概看懂了一点
AK_winson08 2011-06-06
  • 打赏
  • 举报
回复
表示完全不懂……
影游 2011-06-06
  • 打赏
  • 举报
回复
哦,初学者表示看不懂!
vb2014 2011-06-06
  • 打赏
  • 举报
回复
自己,顶一个

110,535

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧