b64d84be |
1 | // Copyright (c) 1995-1999 Matra Datavision |
2 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
3 | // |
4 | // This file is part of Open CASCADE Technology software library. |
5 | // |
6 | // This library is free software; you can redistribute it and/or modify it under |
7 | // the terms of the GNU Lesser General Public License version 2.1 as published |
8 | // by the Free Software Foundation, with special exception defined in the file |
9 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | // distribution for complete text of the license and disclaimer of any warranty. |
11 | // |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
14 | |
15 | #ifndef _Graphic3d_CAspectText_HeaderFile |
16 | #define _Graphic3d_CAspectText_HeaderFile |
17 | |
18 | #include <InterfaceGraphic_Visual3d.hxx> |
19 | #include <Graphic3d_CTexture.hxx> |
494782f6 |
20 | #include <Graphic3d_ShaderProgram.hxx> |
b64d84be |
21 | |
22 | class Graphic3d_CAspectText |
23 | { |
24 | public: |
25 | |
26 | int IsDef; |
27 | int IsSet; |
28 | const char* Font; |
29 | float Space; |
30 | float Expan; |
31 | CALL_DEF_COLOR Color; |
32 | int Style; |
33 | int DisplayType; |
34 | CALL_DEF_COLOR ColorSubTitle; |
35 | int TextZoomable; |
36 | float TextAngle; |
37 | int TextFontAspect; |
38 | Handle(Graphic3d_ShaderProgram) ShaderProgram; |
39 | |
40 | }; |
41 | |
42 | typedef Graphic3d_CAspectText CALL_DEF_CONTEXTTEXT; |
43 | |
44 | #endif // _Graphic3d_CAspectText_HeaderFile |