[mapserver-dev] msTransformShapeAGG vs. msTransformShape

Paul Spencer pspencer at dmsolutions.ca
Mon Apr 20 19:12:18 EDT 2009


Steve,

I seem to recall that msTransformShapeAGG uses doubles whereas  
msTransformShapeToPixel uses ints.

Cheers

Paul

On 20-Apr-09, at 6:11 PM, Steve Lime wrote:

> This is probably mostly for Thomas. Anyone recall why  
> msTransformShapeAGG exists (and isn't the standard)? I've
> noticed changes between 4.10, 5.2 and now 5.4 when drawing small  
> polygons. Here's a summary:
>
>  - 4.10 is ok and is obviously pre-AGG
>  - 5.0/5.2 some small polygons render but won't label in GD, ok in AGG
>  - 5.4 some small polygons don't render or label in GD, ok in AGG
>
> The differences are because of changes in msTransformShape between  
> 4.10 and 5.0 I believe. Probably as a result of
> the initial addition of AGG. The msTransformShapeAGG() seems to  
> function fine and I'm wondering why we don't just use
> it everywhere. I don't see anything in the function that seems to be  
> AGG specific.
>
> Steve
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev


__________________________________________

    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://research.dmsolutions.ca/



More information about the mapserver-dev mailing list