1 Star 1 Fork 1

wengo / windows_gui

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
shapepicture.go 846 Bytes
Copy Edit Raw Blame History
wengooooo authored 2022-04-20 11:38 . update
package xc
// 形状图片_创建, 创建形状对象-图片, 成功返回图片对象句柄, 否则返回NULL.
//
// x: x坐标.
//
// y: y坐标.
//
// cx: 宽度.
//
// cy: 高度.
//
// hParent: 父对象句柄.
func XShapePic_Create(x int, y int, cx int, cy int, hParent int) int {
r, _, _ := xShapePic_Create.Call(uintptr(x), uintptr(y), uintptr(cx), uintptr(cy), uintptr(hParent))
return int(r)
}
// 形状图片_置图片, 设置图片.
//
// hShape: 形状对象句柄.
//
// hImage: 图片句柄.
func XShapePic_SetImage(hShape int, hImage int) int {
r, _, _ := xShapePic_SetImage.Call(uintptr(hShape), uintptr(hImage))
return int(r)
}
// 形状图片_取图片, 获取图片句柄.
//
// hShape: 形状对象句柄.
func XShapePic_GetImage(hShape int) int {
r, _, _ := xShapePic_GetImage.Call(uintptr(hShape))
return int(r)
}
Go
1
https://gitee.com/wengo/windows_gui.git
git@gitee.com:wengo/windows_gui.git
wengo
windows_gui
windows_gui
48d22b3de18b

Search

53164aa7 5694891 3bd8fe86 5694891