GradientFill found in 'msimg32.dll'
来源:互联网 发布:淘宝客服是真的吗 编辑:程序博客网 时间:2024/04/29 06:49
GradientFill found in 'msimg32.dll'
This Delphi source code shows how the GradientFill function can be used to add smooth shading to a triangle or rectangle. For a triangle call the GradientFill function with the three triangle endpoints. GDI will linearly interpolate and fill the triangle.
To add smooth shading to a rectangle, call GradientFill with the upper-left and lower-right coordinates of the rectangle. There are two shading modes used when drawing a rectangle. In horizontal mode, the rectangle is shaded from left-to-right. In vertical mode, the rectangle is shaded from top-to-bottom. First, you need the GradientFill function declaration (Windows.pas contains wrong dectaration of GradientFill function):
type
TRIVERTEX = packed record
X, Y : DWORD;
Red, Green, Blue, Alpha : Word;
end;
function GradientFill(DC : hDC; pVertex : Pointer; dwNumVertex : DWORD;
pMesh : Pointer; dwNumMesh, dwMode: DWORD) : DWord; stdcall;
external 'msimg32.dll';
The following example shows a horizontal rectangle call.
- GradientFill found in 'msimg32.dll'
- msimg32.dll下载及修复
- No Iplib.dll found in waterfall procedure
- Another "mfc90ud.dll" not found error in VS 2008
- FFI::NotFoundError: Function '_get_errno' not found in [msvcrt.dll]解决办法
- Display-GradientFill()
- VirtualBox报错:ntdll.dll not found in child process(rc=-610)
- MSVCR80D.dll not found
- MSVCR80D.dll not found
- socket 和 msimg32.lib 问题
- FillRect and GradientFill
- FillRect和GradientFill
- GradientFill的用法
- 错误:Unable to load library 'xxx': Native library (win32-x86/xxx.dll) not found in resource p
- not found in achieve
- mspdb80.dll not found解决方案
- MSVCR80D.dll not found解决方案!!
- msvcr110.dll can't found!
- 金蝶KIS 9.0专业版 破解
- 关于输入一组数并输出所有全排列思考~
- 网管经验:如何区分BSSID和ESSID
- 最简单的ORM
- 程序员的一生
- GradientFill found in 'msimg32.dll'
- Saving a RichEdit to a Metafile
- 击中击不中变换
- 最大流SAP算法
- 一个WPF的TOOLTIPS的界面效果(清爽)
- Microsoft Enterprise Library
- oracle 内外连接 join 总结
- 学习三分之一C语言入门总结
- sortable table