Changeset 10907


Ignore:
Timestamp:
Jan 25, 2011 9:07:46 AM (5 years ago)
Author:
tbonfort
Message:

fix formatting tabs->spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mapserver/mapagg.cpp

    r10906 r10907  
    625625int agg2MergeRasterBuffer(imageObj *dest, rasterBufferObj *overlay, double opacity, int srcX, int srcY,
    626626      int dstX, int dstY, int width, int height) {
    627         assert(overlay->type == MS_BUFFER_BYTE_RGBA);
    628         rendering_buffer b(overlay->data.rgba.pixels, overlay->width, overlay->height, overlay->data.rgba.row_step);
    629         pixel_format pf(b);
    630         AGG2Renderer *r = AGG_RENDERER(dest);
     627   assert(overlay->type == MS_BUFFER_BYTE_RGBA);
     628   rendering_buffer b(overlay->data.rgba.pixels, overlay->width, overlay->height, overlay->data.rgba.row_step);
     629   pixel_format pf(b);
     630   AGG2Renderer *r = AGG_RENDERER(dest);
    631631   mapserver::rect_base<int> src_rect(srcX,srcY,srcX+width,srcY+height);
    632         r->m_renderer_base.blend_from(pf,&src_rect, dstX, dstY,unsigned(opacity * 255));
    633         return MS_FAILURE;
     632   r->m_renderer_base.blend_from(pf,&src_rect, dstX, dstY,unsigned(opacity * 255));
     633   return MS_FAILURE;
    634634}
    635635
Note: See TracChangeset for help on using the changeset viewer.