static boost::python::tuple getinitargs(const line_pattern_symbolizer& l) { std::string filename = path_processor_type::to_string(*l.get_filename()); // FIXME : Do we need "type" parameter at all ? return boost::python::make_tuple(filename, guess_type(filename)); }
static boost::python::tuple getinitargs(const shield_symbolizer& s) { std::string filename = path_processor_type::to_string(*s.get_filename()); //(name, font name, font size, font color, image file, image type, width, height) return boost::python::make_tuple( "TODO",//s.get_name(), s.get_face_name(),s.get_text_size(),s.get_fill(),filename,guess_type(filename)); }
static boost::python::tuple getinitargs(const polygon_pattern_symbolizer& p) { std::string filename = path_processor_type::to_string(*p.get_filename()); return boost::python::make_tuple(filename,guess_type(filename)); }