00001 #ifndef _WINC_RECT
00002 #define _WINC_RECT
00003
00004 namespace WXP {
00005 struct Rect {
00006 float xmin, ymin;
00007 float xmax, ymax;
00008
00009 int init();
00010 Rect();
00011 Rect( float x1, float y1, float x2, float y2 );
00012 int set( float x1, float y1, float x2, float y2 );
00013 inline float getXMin(){ return xmin; };
00014 inline float getXMax(){ return xmax; };
00015 inline float getYMin(){ return ymin; };
00016 inline float getYMax(){ return ymax; };
00017 int print();
00018 };
00019 }
00020 #endif