Damn... missed attaching the images.

> -----Ursprüngliche Nachricht-----
> Von: mapserver-users [mailto:[email protected]] Im
> Auftrag von Eichner, Andreas - SID
> Gesendet: Mittwoch, 18. Oktober 2017 08:28
> An: Erik H
> Cc: [email protected]
> Betreff: Re: [mapserver-users] Draw roads WITHOUT anti-aliasing
> 
> Hi,
> 
> I just meant that it seems to be pretty easy to implement aliased
> rendering with AGG.
> Simply changing the typedef in line 91 of mapagg.cpp from
> 
>   typedef mapserver::renderer_scanline_aa_solid<renderer_base>
> renderer_scanline;
> 
> to
> 
>   typedef mapserver::renderer_scanline_bin_solid<renderer_base>
> renderer_scanline;
> 
> turns of anti-aliased rendering. I've attached the output of "shp2img -m
> line_simple.map" from the msautotests.
> An additional member in class AGG2Renderer for the aliased rasterizer
> and conditionally passing one or the other
> to render_scanlines() depending on some value of strokeStyleObj might be
> enough.
> 
> Regards
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Erik H [mailto:[email protected]]
> > Gesendet: Dienstag, 17. Oktober 2017 17:34
> > An: Eichner, Andreas - SID
> > Cc: Richard Greenwood; [email protected]
> > Betreff: Re: [mapserver-users] Draw roads WITHOUT anti-aliasing
> >
> > As for Andreas' remark about 'simply the use of another scanline
> > rasterizer.' - I'm sorry but I'm not much of a C++ developer. If I
> have
> > to do rasterizing, I'd skip MapServer altogether and generate the PNG
> in
> > Java.
> >
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to