Håvard,<br><br>I guess it wouldn&#39;t be so straighforward to have the renderers work on a common image format to provide this kind of co-operation. Currently the imageObj structure contains renderer specific information and those may use internal buffers to render the image.<br>
<br>At the moment I would see 2 options to provide specifying exact fill patterns;<br><br>1. Change the AGG driver to have an option to render the pattern tile images by using GD.<br>2. Modify the behaviour of rendering the pixmap (image) symbols so that the pixel colors would take over the colors of the style. <br>
<br>With regards to the HATCH symbols it&#39;s not so usable in my case, as I&#39;d require to specify the symbols in that way which can be used with the MapInfo data and the STYLEITEM &quot;AUTO&quot; settings. Since the MapInfo patterns are mapped to single SYMBOL definitions (like mapinfo-brush-27 etc.) I cannot rely on further settings of the style (like angle and width) and the SYMBOL definition should be &quot;self-contained&quot;.<br>
<br><br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2009/10/19 Havard Tveite <span dir="ltr">&lt;<a href="mailto:havard.tveite@umb.no">havard.tveite@umb.no</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Tamas,<br>
<br>
I also miss the possibility to mix AGG&#39;s superb rendering of lines<br>
and points with non-anti-aliased vector polygon fills (I don&#39;t think<br>
everything can be solved using HATCH yet).<br>
<br>
Since AGG does not seem to support anti-aliased rendering, I thought<br>
about the possibility to allow some layers to be rendered with GD and<br>
some with AGG, and I suggested this in:<br>
&lt;URL: <a href="http://lists.osgeo.org/pipermail/mapserver-dev/2008-December/007995.html" target="_blank">http://lists.osgeo.org/pipermail/mapserver-dev/2008-December/007995.html</a>&gt;<br>
<br>
There were objections to this:<br>
&lt;URL: <a href="http://lists.osgeo.org/pipermail/mapserver-dev/2008-December/007997.html" target="_blank">http://lists.osgeo.org/pipermail/mapserver-dev/2008-December/007997.html</a>&gt;<br>
<br>
Håvard<br>
<br>
Tamas Szekeres wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Folks,<br>
<br>
Is there a way to disable antialias support with the agg renderer when drawing vector symbol based pattern fills?<br>
I&#39;ve just wanted to construct some of the pre-defined mapinfo fill patterns (see image attached) but it seems the results are quite different by using the agg and gd renderers (the latter is the desired result). Another issue with this kind of antialiased drawing is that we may encounter glitches at the tile borders (for example when drawing hatches this way.)<br>

<br>
The symbol definition of this one looks something like:<br>
<br>
SYMBOL<br>
  NAME &#39;mapinfo-brush-62&#39;<br>
  TYPE VECTOR<br>
  POINTS<br>
    0 1<br>
    4 5<br>
    7 2<br>
    -99 -99<br>
    4 1<br>
    4 1<br>
    -99 -99<br>
    0 5<br>
    0 5<br>
    -99 -99<br>
    0 7<br>
    0 7<br>
    -99 -99<br>
    2 7<br>
    2 7<br>
    -99 -99<br>
    4 7<br>
    4 7<br>
    -99 -99<br>
    6 7<br>
    6 7<br>
  END<br>
END<br>
<br>
<br>
<br>
Best regards,<br>
<br>
Tamas<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
</blockquote>
<br>
-- <br>
Håvard Tveite<br>
Department of Mathematical Sciences and Technology, UMB<br>
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY<br>
Phone: +47 64965483 Fax: +47 64965401 <a href="http://www.umb.no/imt/" target="_blank">http://www.umb.no/imt/</a><br>
</blockquote></div><br>