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

« back to all changes in this revision

Viewing changes to src/text_symbolizer.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:
60
60
          label_spacing_(0),
61
61
          label_position_tolerance_(0),
62
62
          force_odd_labels_(false),
63
 
          max_char_angle_delta_(0),
 
63
          max_char_angle_delta_(0.0),
64
64
          fill_(fill),
65
65
          halo_fill_(color(255,255,255)),
66
66
          halo_radius_(0),
81
81
          label_spacing_(0),
82
82
          label_position_tolerance_(0),
83
83
          force_odd_labels_(false),
84
 
          max_char_angle_delta_(0),
 
84
          max_char_angle_delta_(0.0),
85
85
          fill_(fill),
86
86
          halo_fill_(color(255,255,255)),
87
87
          halo_radius_(0),
286
286
       valign_ = valign;
287
287
    }
288
288
   
289
 
    vertical_alignment text_symbolizer::get_vertical_alignment() const
 
289
    vertical_alignment_e text_symbolizer::get_vertical_alignment() const
290
290
    {
291
 
       return  valign_;
 
291
       return valign_;
292
292
    }
293
293
    
294
294
    void  text_symbolizer::set_anchor(double x, double y)
296
296
        anchor_ = boost::make_tuple(x,y);
297
297
    }
298
298
    
299
 
    position const& text_symbolizer::get_anchor () const
 
299
    position const& text_symbolizer::get_anchor() const
300
300
    {
301
301
        return anchor_;
302
302
    }
 
303
    
303
304
    void  text_symbolizer::set_displacement(double x, double y)
304
305
    {
305
306
        displacement_ = boost::make_tuple(x,y);