26 #ifndef MLN_DRAW_SITE_SET_HH
27 # define MLN_DRAW_SITE_SET_HH
35 # include <mln/core/concept/image.hh>
36 # include <mln/core/concept/site_set.hh>
55 template <
typename I,
typename S>
58 const mln_value(I)& v,
59 unsigned output_ratio = 1);
62 # ifndef MLN_INCLUDE_ONLY
64 template <
typename I,
typename S>
67 const mln_value(I)& v,
68 unsigned output_ratio)
71 const S& s = exact(s_);
73 mln_precondition(ima.is_valid());
74 mln_precondition(ima.domain() >= s);
78 ima(p / output_ratio) = v;
81 # endif // ! MLN_INCLUDE_ONLY
88 #endif // ! MLN_DRAW_SITE_SET_HH