Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / common / Text2Ds.h
1 #ifndef TEXT2DS_H
2 #define TEXT2DS_H
3
4 #include "Primitives_A.h"
5 #include "Font_A.h"
6
7 #include <string>
8 using std::string;
9
10 /*----------------------------------------------------------------------*\
11 |* Declaration *|
12 \*---------------------------------------------------------------------*/
13
14 /*--------------------------------------*\
15 |* Public *|
16 \*-------------------------------------*/
17
18 class CBI_GLIMAGE Text2Ds : public Primitives_A
19 {
20 public:
21
22 /*--------------------------------------*\
23 |* Constructor *|
24 \*-------------------------------------*/
25
26 Text2Ds(int x,int y,string texte,const Font_A* font);
27
28 /*--------------------------------------*\
29 |* Destructor *|
30 \*-------------------------------------*/
31
32 virtual ~Text2Ds();
33
34 /*--------------------------------------*\
35 |* Methodes *|
36 \*-------------------------------------*/
37
38 /**
39 * Override
40 */
41 void accept(PrimitiveVisitors_I &visitor);
42
43 /*--------------------------------------*\
44 |* Attributs *|
45 \*-------------------------------------*/
46
47 public:
48
49 //Input
50 string texte;
51 const Font_A* font;
52 int x;
53 int y;
54 };
55
56 #endif
57
58 /*----------------------------------------------------------------------*\
59 |* End *|
60 \*---------------------------------------------------------------------*/