Show
Ignore:
Timestamp:
04/05/08 21:26:14 (9 months ago)
Author:
benmoores
Message:

Experimental pdf output using wxPdfDoc:

  • wxpdfdoc patches
  • mapnik patches
  • visual studio build instructions / project files

see /msvc/readme.txt for build instructions

The scons makefiles have not been updated, the new files are in /pdf, /include/pdf, /demo/pdf/, and /bindings/python

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/experimental-pdf/include/mapnik/octree.hpp

    r631 r689  
    2525#define _OCTREE_HPP_ 
    2626 
     27#include <boost/cstdint.hpp> 
    2728#include <boost/format.hpp> 
    2829#include <boost/utility.hpp> 
     
    3334namespace mapnik { 
    3435         
    35    typedef uint8_t byte ; 
     36   typedef boost::uint8_t byte; 
    3637   struct rgb    
    3738   { 
     
    8384               unsigned blues; 
    8485               unsigned count;   
    85                uint8_t  index;                                   
     86               boost::uint8_t  index;                                    
    8687         }; 
    8788         struct node_cmp 
     
    215216            { 
    216217               unsigned count = itr->count; 
    217                palette.push_back(rgb(uint8_t(itr->reds/float(count)), 
    218                                      uint8_t(itr->greens/float(count)), 
    219                                      uint8_t(itr->blues/float(count)))); 
     218               palette.push_back(rgb(boost::uint8_t(itr->reds/float(count)), 
     219                                     boost::uint8_t(itr->greens/float(count)), 
     220                                     boost::uint8_t(itr->blues/float(count)))); 
    220221               itr->index = palette.size() - 1;                  
    221222            }