Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clipping of line patterns does not respect map buffer #777

Closed
artemp opened this issue Oct 11, 2011 · 5 comments
Closed

clipping of line patterns does not respect map buffer #777

artemp opened this issue Oct 11, 2011 · 5 comments

Comments

@artemp
Copy link
Member

artemp commented Oct 11, 2011

@artemp
Copy link
Member Author

artemp commented Oct 11, 2011

[springmeyer] Artem, what do you think?

This appears to fix (leaving the ras_ptr->clip_box(0,0,width_,height_); intact in src/agg/agg_renderer.cpp:

Index: src/agg/process_line_pattern_symbolizer.cpp
===================================================================
--- src/agg/process_line_pattern_symbolizer.cpp (revision 2974)
+++ src/agg/process_line_pattern_symbolizer.cpp (working copy)
@@ -71,7 +71,6 @@
     pattern_source source(*(*pat));
     pattern_type pattern (filter,source);
     renderer_type ren(ren_base, pattern);
-    ren.clip_box(0,0,width_,height_);
     rasterizer_type ras(ren);
     metawriter_with_properties writer = sym.get_metawriter();
     for (unsigned i=0;i<feature.num_geometries();++i)

@artemp
Copy link
Member Author

artemp commented Oct 11, 2011

[artem] Moving to 2.0.1

@artemp
Copy link
Member Author

artemp commented Oct 11, 2011

[artem] Moving to 2.0.1 for real now

@artemp
Copy link
Member Author

artemp commented Mar 9, 2012

should be fixed in master

@springmeyer
Copy link
Member

closing as this should be fixed by #1116.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants