跳转至

DD_AREA

结构体定义

1
2
3
4
5
6
7
typedef struct _dd_area_
{
    unsigned short x;  
    unsigned short y;  
    unsigned short cx; 
    unsigned short cy; 
} DD_AREA;
1
2
3
4
5
6
7
8
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_AREA
{
    public UInt16 x;
    public UInt16 y;
    public UInt16 cx;
    public UInt16 cy;
}

功能描述

区域信息结构体,x+cx <= 100, y+cy <=100。

成员说明

成员 类型 备注
x unsigned short 横坐标,取值范围0~99。
y unsigned short 纵坐标,取值范围0~99。
cx unsigned short 宽度,取值范围1~100。
cy unsigned short 高度,取值范围1~100。
错误码