111,097
社区成员




B.Location.X = this.Location.X+this.Width;
B.Location.Y = this.Locaiton.Y;
typedef struct TxObject
{
long status;
TxRegion BaseRgn; //基准区域
long RecogID; //识别状态标志,0是未识别
POINT Contrail[MAXPOINTS]; //对象的运动轨迹(轨迹长度同生命长度)
} TxObject;
typedef struct tagPOINT
{
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
typedef struct TxRegion
{
long cx; ///< the x-coordinate of the upper-left corner
} TxRegion;
[StructLayout(LayoutKind.Sequential)]
struct TxObject
{
public int status;
public TxRegion BaseRgn; //基准区域
public int RecogID; //识别状态标志,0是未识别
[MarshalAs( UnmanagedType.ByValArray, SizeConst=2000 )]
public POINT[] Contrail;
}
[StructLayout(LayoutKind.Sequential)]
struct TxRegion
{
public int cx; ///< the x-coordinate of the upper-left corner
}
[StructLayout(LayoutKind.Sequential)]
struct POINT
{
public int x;
public int y;
}