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

« back to all changes in this revision

Viewing changes to include/mapnik/stroke.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-05-20 15:39:58 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090520153958-cf6z1ql9zva4y4dq
Tags: 0.6.0-1ubuntu1
* Merge from debian unstable (LP: #378819), remaining changes:
  - debian/control:
    + Change bdeps from python2.5-dev to python-all-dev (>= 2.5)
    + Change XS-Python-Version from 2.5 to >= 2.5
  - debian/rules:
    + Various changes to enable python2.5 and python2.6 builds
* debian/patches/libtool2_2.diff Dropped. Included upsteam.
* Removed quilt support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    
63
63
  class MAPNIK_DECL stroke
64
64
  {     
65
 
        Color c_;
 
65
        color c_;
66
66
        float width_;
67
67
        float opacity_; // 0.0 - 1.0
68
68
        line_cap_e  line_cap_;
70
70
        dash_array dash_;       
71
71
    public:
72
72
        explicit stroke();
73
 
        stroke(Color const& c, float width=1.0);
 
73
        stroke(color const& c, float width=1.0);
74
74
        stroke(stroke const& other);
75
75
        stroke& operator=(const stroke& rhs);
76
76
 
77
 
        void set_color(const Color& c);
 
77
        void set_color(const color& c);
78
78
        
79
 
        Color const& get_color() const;
 
79
        color const& get_color() const;
80
80
        
81
81
        float get_width() const;
82
82
        void set_width(float w);