4 #include "Primitives_A.h"
6 /*----------------------------------------------------------------------*\
8 \*---------------------------------------------------------------------*/
10 /*--------------------------------------*\
12 \*-------------------------------------*/
14 class CBI_GLIMAGE Rect2Ds
: public Primitives_A
18 /*--------------------------------------*\
20 \*-------------------------------------*/
23 * (x,y) coin superieur gauche
25 Rect2Ds(int x
, int y
, int width
, int height
);
27 /*--------------------------------------*\
29 \*-------------------------------------*/
33 /*--------------------------------------*\
35 \*-------------------------------------*/
42 virtual void accept(PrimitiveVisitors_I
&visitor
);
44 /*--------------------------------------*\
46 \*-------------------------------------*/
63 inline int getHeight()
68 /*--------------------------------------*\
70 \*-------------------------------------*/
72 void setXY(int x
, int y
);
73 void setSize(int width
, int height
);
75 /*--------------------------------------*\
77 \*-------------------------------------*/
90 /*----------------------------------------------------------------------*\
92 \*---------------------------------------------------------------------*/