|
void WINAPI | XShape_RemoveShape (HXCGUI hShape) |
| 形状_移除 从父UI元素或窗口,和父布局对象中移除. 更多...
|
|
int WINAPI | XShape_GetZOrder (HXCGUI hShape) |
| 形状_取Z序 获取形状对象Z序. 更多...
|
|
void WINAPI | XShape_Redraw (HXCGUI hShape) |
| 形状_重绘 重绘形状对象. 更多...
|
|
int WINAPI | XShape_GetWidth (HXCGUI hShape) |
| 形状_取宽度 获取内容宽度. 更多...
|
|
int WINAPI | XShape_GetHeight (HXCGUI hShape) |
| 形状_取高度 获取内容高度. 更多...
|
|
void WINAPI | XShape_SetPosition (HXCGUI hShape, int x, int y) |
| @形状_置位置 移动位置 更多...
|
|
void WINAPI | XShape_GetPosition (HXCGUI hShape, __out int *pOutX, __out int *pOutY) |
| @形状_取位置 更多...
|
|
void WINAPI | XShape_SetSize (HXCGUI hShape, int nWidth, int nHeight) |
| @形状_置大小 更多...
|
|
void WINAPI | XShape_GetSize (HXCGUI hShape, __out int *pOutWidth, __out int *pOutHeight) |
| @形状_取大小 更多...
|
|
void WINAPI | XShape_SetAlpha (HXCGUI hShape, BYTE alpha) |
| @形状_置透明度 更多...
|
|
BYTE WINAPI | XShape_GetAlpha (HXCGUI hShape) |
| @形状_取透明度 更多...
|
|
void WINAPI | XShape_GetRect (HXCGUI hShape, __out RECT *pRect) |
| 形状_取坐标 获取坐标. 更多...
|
|
void WINAPI | XShape_SetRect (HXCGUI hShape, __in RECT *pRect) |
| 形状_置坐标 设置坐标. 更多...
|
|
BOOL WINAPI | XShape_SetRectLogic (HXCGUI hShape, RECT *pRect, BOOL bRedraw) |
| 形状_置逻辑坐标 设置元素坐标,逻辑坐标,包含滚动视图偏移. 更多...
|
|
void WINAPI | XShape_GetRectLogic (HXCGUI hShape, __out RECT *pRect) |
| 形状_取逻辑坐标 获取元素坐标,逻辑坐标,包含滚动视图偏移. 更多...
|
|
void WINAPI | XShape_GetWndClientRect (HXCGUI hShape, __out RECT *pRect) |
| 形状_取基于窗口客户区坐标 基于窗口客户区坐标. 更多...
|
|
void WINAPI | XShape_GetContentSize (HXCGUI hShape, __out SIZE *pSize) |
| 形状_取内容大小 仅计算有效内容, 填充父, 权重依赖父级所以无法计算. 更多...
|
|
void WINAPI | XShape_ShowLayout (HXCGUI hShape, BOOL bShow) |
| 形状_显示布局边界 是否显示布局边界. 更多...
|
|
void WINAPI | XShape_AdjustLayout (HXCGUI hShape) |
| 形状_调整布局 调整布局. 更多...
|
|
void WINAPI | XShape_Destroy (HXCGUI hShape) |
| 形状_销毁 销毁形状对象. 更多...
|
|
可将多个形状对象添加到元素或布局对象中,形状对象包括文本块,线条,矩形,圆形等.
◆ XShape_AdjustLayout()
void WINAPI XShape_AdjustLayout |
( |
HXCGUI |
hShape | ) |
|
◆ XShape_Destroy()
void WINAPI XShape_Destroy |
( |
HXCGUI |
hShape | ) |
|
◆ XShape_GetAlpha()
BYTE WINAPI XShape_GetAlpha |
( |
HXCGUI |
hShape | ) |
|
◆ XShape_GetContentSize()
void WINAPI XShape_GetContentSize |
( |
HXCGUI |
hShape, |
|
|
__out SIZE * |
pSize |
|
) |
| |
形状_取内容大小 仅计算有效内容, 填充父, 权重依赖父级所以无法计算.
- 参数
-
hShape | 形状对象句柄. |
pSize | 接收返回内容大小值. |
◆ XShape_GetHeight()
int WINAPI XShape_GetHeight |
( |
HXCGUI |
hShape | ) |
|
◆ XShape_GetPosition()
void WINAPI XShape_GetPosition |
( |
HXCGUI |
hShape, |
|
|
__out int * |
pOutX, |
|
|
__out int * |
pOutY |
|
) |
| |
@形状_取位置
- 参数
-
hShape | 形状对象句柄 |
pOutX | 返回X坐标 |
pOutY | 返回Y坐标 |
◆ XShape_GetRect()
void WINAPI XShape_GetRect |
( |
HXCGUI |
hShape, |
|
|
__out RECT * |
pRect |
|
) |
| |
形状_取坐标 获取坐标.
- 参数
-
hShape | 形状对象句柄. |
pRect | 接收返回坐标. |
◆ XShape_GetRectLogic()
void WINAPI XShape_GetRectLogic |
( |
HXCGUI |
hShape, |
|
|
__out RECT * |
pRect |
|
) |
| |
◆ XShape_GetSize()
void WINAPI XShape_GetSize |
( |
HXCGUI |
hShape, |
|
|
__out int * |
pOutWidth, |
|
|
__out int * |
pOutHeight |
|
) |
| |
@形状_取大小
- 参数
-
hShape | 形状对象句柄 |
pOutWidth | 返回宽度 |
pOutHeight | 返回高度 |
◆ XShape_GetWidth()
int WINAPI XShape_GetWidth |
( |
HXCGUI |
hShape | ) |
|
◆ XShape_GetWndClientRect()
void WINAPI XShape_GetWndClientRect |
( |
HXCGUI |
hShape, |
|
|
__out RECT * |
pRect |
|
) |
| |
◆ XShape_GetZOrder()
int WINAPI XShape_GetZOrder |
( |
HXCGUI |
hShape | ) |
|
形状_取Z序 获取形状对象Z序.
- 参数
-
- 返回
- 成功返回索引值,否则返回 XC_ID_ERROR.
◆ XShape_Redraw()
void WINAPI XShape_Redraw |
( |
HXCGUI |
hShape | ) |
|
◆ XShape_RemoveShape()
void WINAPI XShape_RemoveShape |
( |
HXCGUI |
hShape | ) |
|
形状_移除 从父UI元素或窗口,和父布局对象中移除.
- 参数
-
◆ XShape_SetAlpha()
void WINAPI XShape_SetAlpha |
( |
HXCGUI |
hShape, |
|
|
BYTE |
alpha |
|
) |
| |
◆ XShape_SetPosition()
void WINAPI XShape_SetPosition |
( |
HXCGUI |
hShape, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
◆ XShape_SetRect()
void WINAPI XShape_SetRect |
( |
HXCGUI |
hShape, |
|
|
__in RECT * |
pRect |
|
) |
| |
◆ XShape_SetRectLogic()
BOOL WINAPI XShape_SetRectLogic |
( |
HXCGUI |
hShape, |
|
|
RECT * |
pRect, |
|
|
BOOL |
bRedraw |
|
) |
| |
形状_置逻辑坐标 设置元素坐标,逻辑坐标,包含滚动视图偏移.
- 参数
-
hShape | 形状对象句柄. |
pRect | 坐标. |
bRedraw | 是否重绘. |
- 返回
- 如果成功返回TRUE, 否则返回FALSE.
◆ XShape_SetSize()
void WINAPI XShape_SetSize |
( |
HXCGUI |
hShape, |
|
|
int |
nWidth, |
|
|
int |
nHeight |
|
) |
| |
@形状_置大小
- 参数
-
hShape | 形状对象句柄 |
nWidth | 宽度 |
nHeight | 高度 |
◆ XShape_ShowLayout()
void WINAPI XShape_ShowLayout |
( |
HXCGUI |
hShape, |
|
|
BOOL |
bShow |
|
) |
| |