#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 (std::string const &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 |
void | set_face_name (std::string face_name) |
FontSet const & | get_fontset () const |
void | set_fontset (FontSet fontset) |
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 |
void | set_minimum_distance (double distance) |
double | get_minimum_distance () const |
void | set_allow_overlap (bool overlap) |
bool | get_allow_overlap () 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 | ( | std::string const & | name, | |
unsigned | size, | |||
Color const & | fill | |||
) |
mapnik::text_symbolizer::text_symbolizer | ( | text_symbolizer const & | rhs | ) |
text_symbolizer & mapnik::text_symbolizer::operator= | ( | text_symbolizer const & | rhs | ) |
std::string const & mapnik::text_symbolizer::get_name | ( | ) | const |
unsigned mapnik::text_symbolizer::get_text_ratio | ( | ) | const |
void mapnik::text_symbolizer::set_text_ratio | ( | unsigned | ratio | ) |
unsigned mapnik::text_symbolizer::get_wrap_width | ( | ) | const |
void mapnik::text_symbolizer::set_wrap_width | ( | unsigned | ratio | ) |
unsigned mapnik::text_symbolizer::get_label_spacing | ( | ) | const |
void mapnik::text_symbolizer::set_label_spacing | ( | unsigned | spacing | ) |
unsigned mapnik::text_symbolizer::get_label_position_tolerance | ( | ) | const |
void mapnik::text_symbolizer::set_label_position_tolerance | ( | unsigned | tolerance | ) |
bool mapnik::text_symbolizer::get_force_odd_labels | ( | ) | const |
void mapnik::text_symbolizer::set_force_odd_labels | ( | bool | force | ) |
double mapnik::text_symbolizer::get_max_char_angle_delta | ( | ) | const |
void mapnik::text_symbolizer::set_max_char_angle_delta | ( | double | angle | ) |
unsigned mapnik::text_symbolizer::get_text_size | ( | ) | const |
std::string const & mapnik::text_symbolizer::get_face_name | ( | ) | const |
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
void mapnik::text_symbolizer::set_face_name | ( | std::string | face_name | ) |
FontSet const & mapnik::text_symbolizer::get_fontset | ( | ) | const |
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
void mapnik::text_symbolizer::set_fontset | ( | FontSet | fontset | ) |
Color const & mapnik::text_symbolizer::get_fill | ( | ) | const |
Referenced by mapnik::cairo_context::add_text(), and mapnik::agg_renderer< T >::process().
void mapnik::text_symbolizer::set_halo_fill | ( | Color const & | fill | ) |
Color const & mapnik::text_symbolizer::get_halo_fill | ( | ) | const |
Referenced by mapnik::cairo_context::add_text(), and mapnik::agg_renderer< T >::process().
void mapnik::text_symbolizer::set_halo_radius | ( | unsigned | radius | ) |
unsigned mapnik::text_symbolizer::get_halo_radius | ( | ) | const |
Referenced by mapnik::cairo_context::add_text(), and mapnik::agg_renderer< T >::process().
void mapnik::text_symbolizer::set_label_placement | ( | label_placement_e | label_p | ) |
label_placement_e mapnik::text_symbolizer::get_label_placement | ( | ) | const |
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
void mapnik::text_symbolizer::set_anchor | ( | double | x, | |
double | y | |||
) |
position const & mapnik::text_symbolizer::get_anchor | ( | ) | const |
void mapnik::text_symbolizer::set_displacement | ( | double | x, | |
double | y | |||
) |
position const & mapnik::text_symbolizer::get_displacement | ( | ) | const |
void mapnik::text_symbolizer::set_avoid_edges | ( | bool | avoid | ) |
bool mapnik::text_symbolizer::get_avoid_edges | ( | ) | const |
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
void mapnik::text_symbolizer::set_minimum_distance | ( | double | distance | ) |
double mapnik::text_symbolizer::get_minimum_distance | ( | ) | const |
void mapnik::text_symbolizer::set_allow_overlap | ( | bool | overlap | ) |
bool mapnik::text_symbolizer::get_allow_overlap | ( | ) | const |