我可以向该函数传递哪些参数?
我发现了一个函数
function RotateBitmap(var hDIB: HGlobal;
radang: Double; clrBack: TColor): Boolean;
可以旋转图像。但我不知道如何调用这个函数。我可以将哪些参数传递给该函数。 我根本不知道如何使用这个功能。
I found a function
function RotateBitmap(var hDIB: HGlobal;
radang: Double; clrBack: TColor): Boolean;
that rotates an image. But I don't know how to call this function. What parameters I can pass to this function.
I don't know how to use this func at all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从给出的代码来看,hDIB 是一个指向包含 2 个结构的单个内存块的指针 - BitmapInfo 和位图的像素数组。您可以使用
GetDIBSizes
从TBitmap
获取这些结构code> 和GetDIB
函数。如果您对位图转换感兴趣,可以遵循 David 的建议并尝试 graphics32
Judging by the code presented
hDIB
is a pointer to a single memory block containing 2 structures - BitmapInfo and bitmap's pixel array. You can obtain these structures fromTBitmap
usingGetDIBSizes
andGetDIB
functions.If you are interested in bitmap transformations you can follow David's advice and try graphics32