X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FText2Ds.h;fp=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FText2Ds.h;h=a32421675771b6c09de8c732b937ba28ad82810b;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/common/Text2Ds.h b/WCudaMSE/API_Bilat_Image_GL/INC/common/Text2Ds.h new file mode 100755 index 0000000..a324216 --- /dev/null +++ b/WCudaMSE/API_Bilat_Image_GL/INC/common/Text2Ds.h @@ -0,0 +1,60 @@ +#ifndef TEXT2DS_H +#define TEXT2DS_H + +#include "Primitives_A.h" +#include "Font_A.h" + +#include +using std::string; + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class CBI_GLIMAGE Text2Ds : public Primitives_A + { + public: + + /*--------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + + Text2Ds(int x,int y,string texte,const Font_A* font); + + /*--------------------------------------*\ + |* Destructor *| + \*-------------------------------------*/ + + virtual ~Text2Ds(); + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + /** + * Override + */ + void accept(PrimitiveVisitors_I &visitor); + + /*--------------------------------------*\ + |* Attributs *| + \*-------------------------------------*/ + + public: + + //Input + string texte; + const Font_A* font; + int x; + int y; + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/