26 #ifndef SCRIBO_IO_XML_INTERNAL_PRINT_IMAGE_COORDS_HH
27 # define SCRIBO_IO_XML_INTERNAL_PRINT_IMAGE_COORDS_HH
34 # include <mln/core/concept/site_set.hh>
58 # ifndef MLN_INCLUDE_ONLY
66 std::string sc = space;
67 std::string sp = sc +
" ";
69 const S& b =
exact(b_);
70 mln_precondition(b.is_valid());
72 ostr << sc <<
"<Coords>" << std::endl;
76 ostr << sp << "<
Point x=\"" << p.col()
77 << "\" y=\"" << p.row() << "\"/>"
80 ostr << sc << "</Coords>" << std::endl;
84 # endif // ! MLN_INCLUDE_ONLY
94 #endif // ! SCRIBO_IO_XML_INTERNAL_PRINT_IMAGE_COORDS_HH