mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ add missing miterlimit (grid,cairo)
This commit is contained in:
parent
fc1469add0
commit
8ab8f7c420
@ -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…
x
Reference in New Issue
Block a user