#include <text_symbolizer.hpp>
Public Member Functions | |
text_symbolizer (std::string const &name, std::string const &face_name, unsigned size, Color const &fill) | |
text_symbolizer (text_symbolizer const &rhs) | |
text_symbolizer & | operator= (text_symbolizer const &rhs) |
std::string const & | get_name () const |
unsigned | get_text_ratio () const |
void | set_text_ratio (unsigned ratio) |
unsigned | get_wrap_width () const |
void | set_wrap_width (unsigned ratio) |
unsigned | get_label_spacing () const |
void | set_label_spacing (unsigned spacing) |
unsigned | get_label_position_tolerance () const |
void | set_label_position_tolerance (unsigned tolerance) |
bool | get_force_odd_labels () const |
void | set_force_odd_labels (bool force) |
double | get_max_char_angle_delta () const |
void | set_max_char_angle_delta (double angle) |
unsigned | get_text_size () const |
std::string const & | get_face_name () const |
Color const & | get_fill () const |
void | set_halo_fill (Color const &fill) |
Color const & | get_halo_fill () const |
void | set_halo_radius (unsigned radius) |
unsigned | get_halo_radius () const |
void | set_label_placement (label_placement_e label_p) |
label_placement_e | get_label_placement () const |
void | set_anchor (double x, double y) |
position const & | get_anchor () const |
void | set_displacement (double x, double y) |
position const & | get_displacement () const |
void | set_avoid_edges (bool avoid) |
bool | get_avoid_edges () const |
mapnik::text_symbolizer::text_symbolizer | ( | std::string const & | name, | |
std::string const & | face_name, | |||
unsigned | size, | |||
Color const & | fill | |||
) |
mapnik::text_symbolizer::text_symbolizer | ( | text_symbolizer const & | rhs | ) |
position const & mapnik::text_symbolizer::get_anchor | ( | ) | const |
bool mapnik::text_symbolizer::get_avoid_edges | ( | ) | const |
position const & mapnik::text_symbolizer::get_displacement | ( | ) | const |
std::string const & mapnik::text_symbolizer::get_face_name | ( | ) | const |
Color const & mapnik::text_symbolizer::get_fill | ( | ) | const |
bool mapnik::text_symbolizer::get_force_odd_labels | ( | ) | const |
Color const & mapnik::text_symbolizer::get_halo_fill | ( | ) | const |
unsigned mapnik::text_symbolizer::get_halo_radius | ( | ) | const |
label_placement_e mapnik::text_symbolizer::get_label_placement | ( | ) | const |
unsigned mapnik::text_symbolizer::get_label_position_tolerance | ( | ) | const |
unsigned mapnik::text_symbolizer::get_label_spacing | ( | ) | const |
double mapnik::text_symbolizer::get_max_char_angle_delta | ( | ) | const |
std::string const & mapnik::text_symbolizer::get_name | ( | ) | const |
unsigned mapnik::text_symbolizer::get_text_ratio | ( | ) | const |
unsigned mapnik::text_symbolizer::get_text_size | ( | ) | const |
unsigned mapnik::text_symbolizer::get_wrap_width | ( | ) | const |
text_symbolizer & mapnik::text_symbolizer::operator= | ( | text_symbolizer const & | rhs | ) |
void mapnik::text_symbolizer::set_anchor | ( | double | x, | |
double | y | |||
) |
void mapnik::text_symbolizer::set_avoid_edges | ( | bool | avoid | ) |
void mapnik::text_symbolizer::set_displacement | ( | double | x, | |
double | y | |||
) |
void mapnik::text_symbolizer::set_force_odd_labels | ( | bool | force | ) |
void mapnik::text_symbolizer::set_halo_fill | ( | Color const & | fill | ) |
void mapnik::text_symbolizer::set_halo_radius | ( | unsigned | radius | ) |
void mapnik::text_symbolizer::set_label_placement | ( | label_placement_e | label_p | ) |
void mapnik::text_symbolizer::set_label_position_tolerance | ( | unsigned | tolerance | ) |
void mapnik::text_symbolizer::set_label_spacing | ( | unsigned | spacing | ) |
void mapnik::text_symbolizer::set_max_char_angle_delta | ( | double | angle | ) |
void mapnik::text_symbolizer::set_text_ratio | ( | unsigned | ratio | ) |
void mapnik::text_symbolizer::set_wrap_width | ( | unsigned | ratio | ) |