Add symbolizer_base constructor to all symbolizers.
This commit is contained in:
parent
db21530977
commit
4dc2a466f8
3 changed files with 7 additions and 4 deletions
|
@ -29,9 +29,9 @@ namespace mapnik
|
|||
{
|
||||
|
||||
line_pattern_symbolizer::line_pattern_symbolizer(path_expression_ptr file)
|
||||
: symbolizer_with_image(file) {}
|
||||
: symbolizer_with_image(file), symbolizer_base() {}
|
||||
|
||||
line_pattern_symbolizer::line_pattern_symbolizer(line_pattern_symbolizer const& rhs)
|
||||
: symbolizer_with_image(rhs) {}
|
||||
: symbolizer_with_image(rhs), symbolizer_base(rhs) {}
|
||||
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ namespace mapnik {
|
|||
|
||||
markers_symbolizer::markers_symbolizer()
|
||||
: symbolizer_with_image(path_expression_ptr(new path_expression)),
|
||||
symbolizer_base(),
|
||||
allow_overlap_(false),
|
||||
fill_(color(0,0,255)),
|
||||
spacing_(100.0),
|
||||
|
@ -35,6 +36,7 @@ markers_symbolizer::markers_symbolizer()
|
|||
|
||||
markers_symbolizer::markers_symbolizer(path_expression_ptr filename)
|
||||
: symbolizer_with_image(filename),
|
||||
symbolizer_base(),
|
||||
allow_overlap_(false),
|
||||
fill_(color(0,0,255)),
|
||||
spacing_(100.0),
|
||||
|
@ -42,6 +44,7 @@ markers_symbolizer::markers_symbolizer(path_expression_ptr filename)
|
|||
|
||||
markers_symbolizer::markers_symbolizer(markers_symbolizer const& rhs)
|
||||
: symbolizer_with_image(rhs),
|
||||
symbolizer_base(rhs),
|
||||
allow_overlap_(rhs.allow_overlap_),
|
||||
fill_(rhs.fill_),
|
||||
spacing_(rhs.spacing_),
|
||||
|
|
|
@ -36,11 +36,11 @@ static const char * pattern_alignment_strings[] = {
|
|||
IMPLEMENT_ENUM( pattern_alignment_e, pattern_alignment_strings );
|
||||
|
||||
polygon_pattern_symbolizer::polygon_pattern_symbolizer(path_expression_ptr file)
|
||||
: symbolizer_with_image(file),
|
||||
: symbolizer_with_image(file), symbolizer_base(),
|
||||
alignment_(LOCAL_ALIGNMENT) {}
|
||||
|
||||
polygon_pattern_symbolizer::polygon_pattern_symbolizer(polygon_pattern_symbolizer const& rhs)
|
||||
: symbolizer_with_image(rhs),
|
||||
: symbolizer_with_image(rhs), symbolizer_base(rhs),
|
||||
alignment_(rhs.alignment_) {}
|
||||
|
||||
pattern_alignment_e polygon_pattern_symbolizer::get_alignment() const
|
||||
|
|
Loading…
Reference in a new issue