Ported Layer::merge_slices() to XS

This commit is contained in:
Alessandro Ranellucci 2015-04-16 20:44:55 +02:00
parent 1f8ef2a63c
commit be2f46ca68
4 changed files with 10 additions and 5 deletions

View file

@ -126,6 +126,14 @@ Layer::make_slices()
}
}
void
Layer::merge_slices()
{
FOREACH_LAYERREGION(this, layerm) {
(*layerm)->merge_slices();
}
}
template <class T>
bool
Layer::any_internal_region_slice_contains(const T &item) const