default to global alignment for polygon patterns - refs #2325

This commit is contained in:
Dane Springmeyer 2014-08-04 16:20:12 -07:00
parent a7e864b918
commit fb12fc8b68
4 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ void agg_renderer<T0,T1>::process(polygon_pattern_symbolizer const& sym,
agg::pixfmt_rgba32_pre pixf_pattern(pattern_rbuf);
img_source_type img_src(pixf_pattern);
pattern_alignment_enum alignment = get<pattern_alignment_enum>(sym, keys::alignment, feature, common_.vars_, LOCAL_ALIGNMENT);
pattern_alignment_enum alignment = get<pattern_alignment_enum>(sym, keys::alignment, feature, common_.vars_, GLOBAL_ALIGNMENT);
unsigned offset_x=0;
unsigned offset_y=0;

View File

@ -735,7 +735,7 @@ void cairo_renderer_base::process(polygon_pattern_symbolizer const& sym,
}
//pattern_alignment_e align = sym.get_alignment();
pattern_alignment_enum alignment = get<pattern_alignment_enum>(sym, keys::alignment, feature, common_.vars_, GLOBAL_ALIGNMENT);
//unsigned offset_x=0;
//unsigned offset_y=0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB