~ubuntu-branches/ubuntu/trusty/mapnik/trusty-proposed

« back to all changes in this revision

Viewing changes to src/cairo_renderer.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-08-27 00:28:37 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090827002837-ztqzfg2rmclfh4i9
Tags: 0.6.1-0ubuntu1
* New upstream release.
* Change usr/lib to usr/lib* to enable build on 64 bits systems due to new
  configuration in SConstruct in :
  - debian/libmapnik-dev.install
  - debian/libmapnik0.6.install
  - debian/mapnik-plugin-base

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 *****************************************************************************/
22
22
//$Id$
23
23
 
 
24
#if defined(HAVE_CAIRO)
 
25
 
24
26
// mapnik
25
27
#include <mapnik/cairo_renderer.hpp>
26
28
#include <mapnik/image_util.hpp>
987
989
         cairo_context context(context_);
988
990
 
989
991
         //TODO -- support for advanced image merging
990
 
         context.add_image(int(ext.minx()), int(ext.miny()), target, sym.get_opacity());
 
992
         context.add_image(int(ext.minx()+0.5), int(ext.miny()+0.5), target, sym.get_opacity());
991
993
      }
992
994
   }
993
995
 
1069
1071
   template class cairo_renderer<Cairo::Surface>;
1070
1072
   template class cairo_renderer<Cairo::Context>;
1071
1073
}
 
1074
 
 
1075
#endif