相关代码 |
|
#ifndef __FIGURE_STRUCT_H__ #define __FIGURE_STRUCT_H__ #include "..\inc\def.h" typedef struct { int cx; int cy; }structSIZE; typedef struct { int left; int top; int right; int bottom; }structRECT; void CopyRect(structRECT* prect1, structRECT* prect2); void SetRect(structRECT* prect, int left, int top, int right, int bottom); void InflateRect(structRECT* prect, int cx,int cy); U8 IsInRect(structRECT *prect, int x, int y); #endif
相关资源 |
|