Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
python
export_LineStyle.cxx
Go to the documentation of this file.
1
12
#ifdef _MSC_VER
13
// nonstandard extension used 'extern' before...
14
# pragma warning(disable:4231)
15
16
// needs to have dll-interface used by client
17
# pragma warning(disable:4251)
18
19
// non dll-interface struct
20
# pragma warning(disable:4275)
21
22
// 'int' : forcing value to bool 'true' or 'false' (performance warning)
23
# pragma warning(disable:4800)
24
#endif
25
26
#include "
graphics/LineStyle.h
"
27
28
#include <boost/python.hpp>
29
30
using namespace
boost::python;
31
32
namespace
hippodraw {
33
namespace
Python {
34
35
void
36
export_LineStyle
()
37
{
38
enum_ < Line::Style > (
"Line"
)
39
.value (
"solid"
,
Line::Solid
)
40
.value (
"dash"
,
Line::Dash
)
41
.value (
"dot"
,
Line::Dot
)
42
.value (
"dashdot"
,
Line::DashDot
)
43
.value (
"dashdotdot"
,
Line::DashDotDot
)
44
.value (
"invisible"
,
Line::Invisible
)
45
;
46
}
47
48
}
// namespace Python
49
}
// namespace hippodraw
hippodraw::Line::DashDot
__ . __ .
Definition:
LineStyle.h:30
hippodraw::Line::Dot
. . . . .
Definition:
LineStyle.h:29
hippodraw::FontWeight::Invisible
Definition:
FontBase.h:25
hippodraw::Line::DashDotDot
__ . . __
Definition:
LineStyle.h:31
hippodraw::Python::export_LineStyle
void export_LineStyle()
Export hippodraw::LineStyle enumeration.
Definition:
export_LineStyle.cxx:36
hippodraw::Line::Solid
Definition:
LineStyle.h:27
LineStyle.h
The namespace for lines.
hippodraw::Line::Dash
Definition:
LineStyle.h:28
Generated for HippoDraw Class Library by