1 #ifndef GL_PRIMITIVE_DRAWERS_H
2 #define GL_PRIMITIVE_DRAWERS_H
4 #include "envGLImage.h"
5 #include "PrimitiveVisitors_I.h"
6 #include "TextRenderer_A.h"
10 #include "WiredRect2Ds.h"
11 #include "Graphic2Ds.h"
13 /*----------------------------------------------------------------------*\
15 \*---------------------------------------------------------------------*/
17 /*--------------------------------------*\
19 \*-------------------------------------*/
21 class CBI_GLIMAGE GLPrimitiveDrawers
: public PrimitiveVisitors_I
26 /*--------------------------------------*\
28 \*-------------------------------------*/
32 /*--------------------------------------*\
34 \*-------------------------------------*/
36 virtual ~GLPrimitiveDrawers();
38 /*--------------------------------------*\
40 \*-------------------------------------*/
44 void display(Graphic2Ds
* graphic2D
, TextRenderer_A
* textRenderer
);
51 virtual void visite(Graphic2Ds
* graphic2D
);
56 virtual void visite(Line2Ds
* ptrLine2D
);
61 virtual void visite(Rect2Ds
* ptrRect2D
);
66 virtual void visite(Text2Ds
* ptrTexte2D
);
71 virtual void visite(WiredRect2Ds
* ptrWiredRect2D
);
73 /*--------------------------------------*\
75 \*-------------------------------------*/
81 TextRenderer_A
* ptrTextRenderer
;
86 /*----------------------------------------------------------------------*\
88 \*---------------------------------------------------------------------*/