// SPDX-License-Identifier: GPL-3.0-or-later /** * @file fill_curve.h * @brief Fill the interior of a closed curve in an image * * (C) 2011-2014, 2019, Pascal Monasse */ #ifndef FILL_CURVE_H #define FILL_CURVE_H #include "levelLine.h" template void fill_curve(const std::vector& line, T value, T* data, size_t w, size_t h, std::vector< std::vector >* inter=0); // Templates must have their implementation nearby #include "fill_curve.cpp" #endif