SymbolType.cxx
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #include "SymbolType.h"
15 
16 namespace hippodraw {
17 
18  namespace Symbol {
19 
25  static Type types [] = { SQUARE, SOLIDSQUARE,
26  PLUS, TIMES,
29  INVISIBLE };
30 
31  Type convert ( unsigned int type )
32  {
33  type = type > INVISIBLE ? INVISIBLE : type;
34 
35  return types [ type ];
36  }
37 
38  }
39 }

Generated for HippoDraw Class Library by doxygen