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 ( void   )  [explicit]

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

mapnik::stroke::stroke ( stroke const &  other  ) 


Member Function Documentation

void mapnik::stroke::add_dash ( float  dash,
float  gap 
)

Color const & mapnik::stroke::get_color (  )  const

dash_array const & mapnik::stroke::get_dash_array (  )  const

line_cap_e mapnik::stroke::get_line_cap (  )  const

line_join_e mapnik::stroke::get_line_join (  )  const

float mapnik::stroke::get_opacity (  )  const

float mapnik::stroke::get_width (  )  const

bool mapnik::stroke::has_dash (  )  const

stroke & mapnik::stroke::operator= ( const stroke rhs  ) 

void mapnik::stroke::set_color ( const Color c  ) 

void mapnik::stroke::set_line_cap ( line_cap_e  line_cap  ) 

void mapnik::stroke::set_line_join ( line_join_e  line_join  ) 

void mapnik::stroke::set_opacity ( float  opacity  ) 

void mapnik::stroke::set_width ( float  w  ) 


The documentation for this class was generated from the following files:

Generated for Mapnik by doxygen 1.5.7.1