+ add missing miterlimit (grid,cairo)
This commit is contained in:
parent
fc1469add0
commit
8ab8f7c420
3 changed files with 3 additions and 4 deletions
|
@ -980,7 +980,7 @@ void cairo_renderer_base::start_map_processing(Map const& map)
|
|||
context.set_color(stroke_.get_color(), stroke_.get_opacity());
|
||||
context.set_line_join(stroke_.get_line_join());
|
||||
context.set_line_cap(stroke_.get_line_cap());
|
||||
context.set_miter_limit(4.0);
|
||||
context.set_miter_limit(stroke_.get_miterlimit());
|
||||
context.set_line_width(stroke_.get_width());
|
||||
if (stroke_.has_dash())
|
||||
{
|
||||
|
|
|
@ -89,4 +89,3 @@ template void grid_renderer<grid>::process(line_pattern_symbolizer const&,
|
|||
proj_transform const&);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ void grid_renderer<T>::process(line_symbolizer const& sym,
|
|||
else
|
||||
stroke.generator().line_cap(agg::round_cap);
|
||||
|
||||
stroke.generator().miter_limit(4.0);
|
||||
stroke.generator().miter_limit(stroke_.get_miterlimit());
|
||||
stroke.generator().width(stroke_.get_width() * scale_factor_);
|
||||
|
||||
ras_ptr->add_path(stroke);
|
||||
|
@ -126,7 +126,7 @@ void grid_renderer<T>::process(line_symbolizer const& sym,
|
|||
else
|
||||
stroke.generator().line_cap(agg::round_cap);
|
||||
|
||||
stroke.generator().miter_limit(4.0);
|
||||
stroke.generator().miter_limit(stroke_.get_miterlimit());
|
||||
stroke.generator().width(stroke_.get_width() * scale_factor_);
|
||||
ras_ptr->add_path(stroke);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue