mapnik::stroke Class Reference

#include <stroke.hpp>

List of all members.

Public Member Functions

 stroke ()
 stroke (Color const &c, float width=1.0)
 stroke (stroke const &other)
strokeoperator= (const stroke &rhs)
void set_color (const Color &c)
Color const & get_color () const
float get_width () const
void set_width (float w)
void set_opacity (float opacity)
float get_opacity () const
void set_line_cap (line_cap_e line_cap)
line_cap_e get_line_cap () const
void set_line_join (line_join_e line_join)
line_join_e get_line_join () const
void add_dash (float dash, float gap)
bool has_dash () const
dash_array const & get_dash_array () const


Constructor & Destructor Documentation

mapnik::stroke::stroke (  )  [inline, explicit]

mapnik::stroke::stroke ( Color const &  c,
float  width = 1.0 
) [inline]

mapnik::stroke::stroke ( stroke const &  other  )  [inline]


Member Function Documentation

void mapnik::stroke::add_dash ( float  dash,
float  gap 
) [inline]

Color const& mapnik::stroke::get_color (  )  const [inline]

dash_array const& mapnik::stroke::get_dash_array (  )  const [inline]

line_cap_e mapnik::stroke::get_line_cap (  )  const [inline]

line_join_e mapnik::stroke::get_line_join (  )  const [inline]

float mapnik::stroke::get_opacity (  )  const [inline]

float mapnik::stroke::get_width (  )  const [inline]

bool mapnik::stroke::has_dash (  )  const [inline]

stroke& mapnik::stroke::operator= ( const stroke rhs  )  [inline]

void mapnik::stroke::set_color ( const Color c  )  [inline]

void mapnik::stroke::set_line_cap ( line_cap_e  line_cap  )  [inline]

void mapnik::stroke::set_line_join ( line_join_e  line_join  )  [inline]

void mapnik::stroke::set_opacity ( float  opacity  )  [inline]

void mapnik::stroke::set_width ( float  w  )  [inline]


The documentation for this class was generated from the following file:
Generated on Thu Jul 19 17:59:35 2007 for Mapnik by  doxygen 1.4.7