Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
graphics
LineStyle.cxx
Go to the documentation of this file.
1
/* -*- mode:c++ -*- */
2
15
#include "
LineStyle.h
"
16
17
namespace
hippodraw {
18
19
namespace
Line {
20
26
static
Style
styles
[] = {
Solid
,
Dash
,
Dot
,
DashDot
,
DashDotDot
,
27
Invisible
};
28
29
Style
convert
(
unsigned
int
style )
30
{
31
if
( style >
Invisible
) style =
Invisible
;
32
33
return
styles
[ style ];
34
}
35
36
}
// end namespace Line
37
}
// end namespace
hippodraw::Line::DashDot
__ . __ .
Definition:
LineStyle.h:30
hippodraw::Line::Dot
. . . . .
Definition:
LineStyle.h:29
hippodraw::Line::DashDotDot
__ . . __
Definition:
LineStyle.h:31
hippodraw::Line::convert
Style convert(unsigned int style)
Definition:
LineStyle.cxx:29
hippodraw::Line::Invisible
not visible
Definition:
LineStyle.h:32
hippodraw::Line::styles
static Style styles[]
An array to allow conversion of integer to enumeration.
Definition:
LineStyle.cxx:26
hippodraw::Line::Style
Style
Line style constants.
Definition:
LineStyle.h:25
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