fix high zoom crash in line pattern rendering - closes #2726

This commit is contained in:
Dane Springmeyer 2015-03-10 18:15:52 -07:00
parent 80e64bb394
commit c8e56f1128
4 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ struct agg_renderer_process_visitor_l
pattern_source source(image, opacity);
pattern_type pattern (filter,source);
renderer_type ren(ren_base, pattern);
ren.clip_box(0,0,common_.width_,common_.height_);
rasterizer_type ras(ren);
agg::trans_affine tr;
@ -177,6 +178,7 @@ struct agg_renderer_process_visitor_l
pattern_source source(image, opacity);
pattern_type pattern (filter,source);
renderer_type ren(ren_base, pattern);
ren.clip_box(0,0,common_.width_,common_.height_);
rasterizer_type ras(ren);
agg::trans_affine tr;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB