叮咚茶文字特效源码
系统结构:TextEffect,timeGetTime,SetTextCharacterExtra,OffsetRect,SetTextColor,FillRect,CreateSolidBrush,DeleteObject,GetSysColor,TextOut,DrawText,OleTranslateColor,GetDC,lstrlen,ReleaseDC,CreateFont,MulDiv,GetDeviceCaps,SelectObject,
======窗口程序集1
| |
| |------ TextEffect
| |
| |------ _按钮1_被单击
| |
| |------ _按钮2_被单击
| |
| |
======调用的Dll
| |
| |---[dll]------ timeGetTime
| |
| |---[dll]------ SetTextCharacterExtra
| |
| |---[dll]------ OffsetRect
| |
| |---[dll]------ SetTextColor
| |
| |---[dll]------ FillRect
| |
| |---[dll]------ CreateSolidBrush
| |
| |---[dll]------ DeleteObject
| |
| |---[dll]------ GetSysColor
| |
| |---[dll]------ TextOut
| |
| |---[dll]------ DrawText
| |
| |---[dll]------ OleTranslateColor
| |
| |---[dll]------ GetDC
| |
| |---[dll]------ lstrlen
| |
| |---[dll]------ ReleaseDC
| |
| |---[dll]------ CreateFont
| |
| |---[dll]------ MulDiv
| |
| |---[dll]------ GetDeviceCaps
| |
| |---[dll]------ SelectObject
调用的DLL命令:
.DLL命令 timeGetTime, 整数型, "winmm.dll"
.DLL命令 SetTextCharacterExtra, 整数型, "gdi32"
.参数 hdc, 整数型
.参数 nCharExtra, 整数型
.DLL命令 OffsetRect, 整数型, "user32"
.参数 lpRect, RECT, 传址
.参数 x, 整数型
.参数 y, 整数型
.DLL命令 SetTextColor, 整数型, "gdi32"
.参数 hdc, 整数型
.参数 crColor, 整数型
.DLL命令 FillRect, 整数型, "user32"
.参数 hdc, 整数型
.参数 lpRect, RECT, 传址
.参数 hBrush, 整数型
.DLL命令 CreateSolidBrush, 整数型, "gdi32"
.参数 crColor, 整数型
.DLL命令 DeleteObject, 整数型, "gdi32"
.参数 hObject, 整数型
.DLL命令 GetSysColor, 整数型, "user32"
.参数 nIndex, 整数型
.DLL命令 TextOut, 整数型, "gdi32", "TextOutA"
.参数 hdc, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 lpString, 文本型
.参数 nCount, 整数型
.DLL命令 DrawText, 整数型, "user32", "DrawTextA"
.参数 hdc, 整数型
.参数 lpStr, 文本型
.参数 nCount, 整数型
.参数 lpRect, RECT, 传址
.参数 wFormat, 整数型
.DLL命令 OleTranslateColor, 整数型, "OLEPRO32.DLL"
.参数 OLE_COLOR, 整数型
.参数 HPALETTE, 整数型
.参数 pccolorref, 整数型, 传址
.DLL命令 GetDC, 整数型, "user32", "GetDC"
.参数 hwnd, 整数型
.DLL命令 lstrlen, 整数型, "kernel32", "lstrlenA"
.参数 lpString, 文本型
.DLL命令 ReleaseDC, 整数型, "user32", "ReleaseDC"
.参数 hwnd, 整数型
.参数 hdc, 整数型
.DLL命令 CreateFont, 整数型, "gdi32", "CreateFontA"
.参数 nHeight, 整数型, , //字体高度
.参数 nWidth, 整数型, , //字体平均宽度
.参数 nEscapement, 整数型, , //文本行角度
.参数 nOrientation, 整数型, , //字符的角度
.参数 fnWeight, 整数型, , //字符粗细度
.参数 fdwItalic, 逻辑型, , //倾斜
.参数 fdwUnderline, 逻辑型, , //下划线
.参数 fdwStrikeOut, 逻辑型, , //删除线
.参数 fdwCharSet, 整数型, , //字符集
.参数 fdwOutputPrecision, 整数型, , //字体输出的结果和要求的匹配程度
.参数 fdwClipPrecision, 整数型, , //如何剪裁落于剪裁区之外的字符
.参数 fdwQuality, 整数型, , //字体属性匹配的精确度
.参数 fdwPitchAndFamily, 整数型, , //字体间距和字体族
.参数 lpszFace, 文本型, , //字体名称
.DLL命令 MulDiv, 整数型, "kernel32"
.参数 nNumber, 整数型
.参数 nNumerator, 整数型
.参数 nDenominator, 整数型
.DLL命令 GetDeviceCaps, 整数型, "gdi32", "GetDeviceCaps"
.参数 hdc, 整数型
.参数 nIndex, 整数型
.DLL命令 SelectObject, 整数型, "gdi32", "SelectObject"
.参数 hdc, 整数型
.参数 hObject, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。