inlib  1.2.0
/Users/barrand/private/dev/softinex/old/inexlib-1.2/inlib/inlib/sg/styles
Go to the documentation of this file.
00001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
00002 // See the file inlib.license for terms.
00003 
00004 #ifndef inlib_sg_styles
00005 #define inlib_sg_styles
00006 
00007 #include <string>
00008 
00009 namespace inlib {
00010 namespace sg {
00011 
00012 typedef unsigned short lpat;
00013 
00017 inline const std::string& tick_modeling_none() {
00018   static const std::string s_v("none");
00019   return s_v;
00020 }
00021 inline const std::string& tick_modeling_hippo() {
00022   static const std::string s_v("hippo");
00023   return s_v;
00024 }
00025 inline const std::string& tick_modeling_hplot() {
00026   static const std::string s_v("hplot");
00027   return s_v;
00028 }
00029 
00033 inline const std::string& infos_modeling_ROOT() {
00034   static const std::string s_v("ROOT");
00035   return s_v;
00036 }
00040 inline const std::string& encoding_none() {
00041   static const std::string s_v("none");
00042   return s_v;
00043 }
00044 inline const std::string& encoding_PAW() {
00045   static const std::string s_v("PAW");
00046   return s_v;
00047 }
00048 
00052 inline const std::string& modeling_boxes() {
00053   static const std::string s_v("boxes");
00054   return s_v;
00055 }
00056 
00057 inline const std::string& modeling_wire_boxes() {
00058   static const std::string s_v("wire_boxes");
00059   return s_v;
00060 }
00061 inline const std::string& modeling_lines() {
00062   static const std::string s_v("lines");
00063   return s_v;
00064 }
00065 inline const std::string& modeling_segments() {
00066   static const std::string s_v("segments");
00067   return s_v;
00068 }
00069 inline const std::string& modeling_points() {
00070   static const std::string s_v("points");
00071   return s_v;
00072 }
00073 inline const std::string& modeling_top_lines() {
00074   static const std::string s_v("top_lines");
00075   return s_v;
00076 }
00077 inline const std::string& modeling_texts() {
00078   static const std::string s_v("texts");
00079   return s_v;
00080 }
00081 inline const std::string& modeling_curve() {
00082   static const std::string s_v("curve");
00083   return s_v;
00084 }
00085 inline const std::string& modeling_filled_curve() {
00086   static const std::string s_v("filled_curve");
00087   return s_v;
00088 }
00089 inline const std::string& modeling_bar_chart() {
00090   static const std::string s_v("bar_chart");
00091   return s_v;
00092 }
00093 inline const std::string& modeling_solid() {
00094   static const std::string s_v("solid");
00095   return s_v;
00096 }
00097 inline const std::string& modeling_wire_frame() {
00098   static const std::string s_v("wire_frame");
00099   return s_v;
00100 }
00101 inline const std::string& modeling_reduced_wire_frame() {
00102   static const std::string s_v("reduced_wire_frame");
00103   return s_v;
00104 }
00105 inline const std::string& modeling_polygon() {
00106   static const std::string s_v("polygon");
00107   return s_v;
00108 }
00109 inline const std::string& modeling_none() {
00110   static const std::string s_v("none");
00111   return s_v;
00112 }
00113 inline const std::string& modeling_I() {
00114   static const std::string s_v("I");
00115   return s_v;
00116 }
00117 inline const std::string& modeling_plus() {
00118   static const std::string s_v("plus");
00119   return s_v;
00120 }
00121 
00125 inline const std::string& light_model_base_color() {
00126   static const std::string s_v("base_color");
00127   return s_v;
00128 }
00129 inline const std::string& light_model_phong() {
00130   static const std::string s_v("phong");
00131   return s_v;
00132 }
00133 
00137 inline const std::string& font_hershey() {
00138   static const std::string s_v("hershey");
00139   return s_v;
00140 }
00141 inline const std::string& font_arialbd_ttf() {
00142   static const std::string s_v("arialbd.ttf");
00143   return s_v;
00144 }
00145 inline const std::string& font_timesbd_ttf() {
00146   static const std::string s_v("timesbd.ttf");
00147   return s_v;
00148 }
00149 inline const std::string& font_symbol_ttf() {
00150   static const std::string s_v("symbol.ttf");
00151   return s_v;
00152 }
00153 inline const std::string& font_stixgeneral_otf() {
00154   static const std::string s_v("stixgeneral.otf");
00155   return s_v;
00156 }
00157 
00161 // From TAttText.cxx :
00162 //*-*      1 : times-medium-i-normal      "Times New Roman"      1           4
00163 //*-*      2 : times-bold-r-normal        "Times New Roman"      0           7
00164 //*-*      3 : times-bold-i-normal        "Times New Roman"      1           7
00165 //*-*      4 : helvetica-medium-r-normal  "Arial"                0           4
00166 //*-*      5 : helvetica-medium-o-normal  "Arial"                1           4
00167 //*-*      6 : helvetica-bold-r-normal    "Arial"                0           7
00168 //*-*      7 : helvetica-bold-o-normal    "Arial"                1           7
00169 //*-*      8 : courier-medium-r-normal    "Courier New"          0           4
00170 //*-*      9 : courier-medium-o-normal    "Courier New"          1           4
00171 //*-*     10 : courier-bold-r-normal      "Courier New"          0           7
00172 //*-*     11 : courier-bold-o-normal      "Courier New"          1           7
00173 //*-*     12 : symbol-medium-r-normal     "Symbol"               0           6
00174 //*-*     13 : times-medium-r-normal      "Times New Roman"      0           4
00175 //*-*     14 :                            "Wingdings"            0           4
00176 
00177 //#define SbFont_ROOT_12  "TTF/timesi"
00178 //#define SbFont_ROOT_22  "TTF/timesbd"
00179 //#define SbFont_ROOT_32  "TTF/timesbi"
00180 //#define SbFont_ROOT_42  "TTF/arial"
00181 //#define SbFont_ROOT_52  "TTF/ariali"
00182 //#define SbFont_ROOT_62  "TTF/arialbd"
00183 //#define SbFont_ROOT_72  "TTF/arialbi"
00184 //#define SbFont_ROOT_82  "TTF/cour"
00185 //#define SbFont_ROOT_92  "TTF/couri"
00186 //#define SbFont_ROOT_102 "TTF/courbd"
00187 //#define SbFont_ROOT_112 "TTF/courbi"
00188 //#define SbFont_ROOT_122 "TTF/symbol"
00189 //#define SbFont_ROOT_132 "TTF/times"
00190 //#define SbFont_ROOT_142 "TTF/wingding"
00191 
00192 inline const std::string& font_ROOT_62() {
00193   static const std::string s_v("arialbd.ttf");
00194   return s_v;
00195 }
00196 
00200 
00201 }}
00202 
00203 #endif
00204 
00205 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines