[mapserver-commits] r10907 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jan 25 12:07:46 EST 2011


Author: tbonfort
Date: 2011-01-25 09:07:46 -0800 (Tue, 25 Jan 2011)
New Revision: 10907

Modified:
   trunk/mapserver/mapagg.cpp
Log:
fix formatting tabs->spaces


Modified: trunk/mapserver/mapagg.cpp
===================================================================
--- trunk/mapserver/mapagg.cpp	2011-01-25 17:02:02 UTC (rev 10906)
+++ trunk/mapserver/mapagg.cpp	2011-01-25 17:07:46 UTC (rev 10907)
@@ -624,13 +624,13 @@
 
 int agg2MergeRasterBuffer(imageObj *dest, rasterBufferObj *overlay, double opacity, int srcX, int srcY,
       int dstX, int dstY, int width, int height) {
-	assert(overlay->type == MS_BUFFER_BYTE_RGBA);
-	rendering_buffer b(overlay->data.rgba.pixels, overlay->width, overlay->height, overlay->data.rgba.row_step);
-	pixel_format pf(b);
-	AGG2Renderer *r = AGG_RENDERER(dest);
+   assert(overlay->type == MS_BUFFER_BYTE_RGBA);
+   rendering_buffer b(overlay->data.rgba.pixels, overlay->width, overlay->height, overlay->data.rgba.row_step);
+   pixel_format pf(b);
+   AGG2Renderer *r = AGG_RENDERER(dest);
    mapserver::rect_base<int> src_rect(srcX,srcY,srcX+width,srcY+height);
-	r->m_renderer_base.blend_from(pf,&src_rect, dstX, dstY,unsigned(opacity * 255));
-	return MS_FAILURE;
+   r->m_renderer_base.blend_from(pf,&src_rect, dstX, dstY,unsigned(opacity * 255));
+   return MS_FAILURE;
 }
 
 /* image i/o */



More information about the mapserver-commits mailing list