TuttleOFX  1
fill.hpp File Reference
#include <terry/math/Rect.hpp>
#include <boost/gil/gil_config.hpp>
#include <boost/gil/algorithm.hpp>
Include dependency graph for fill.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  terry
namespace  terry::draw

Functions

template<class View >
GIL_FORCEINLINE void terry::draw::fill_pixels (View &dstView, const typename View::value_type &pixelValue)
template<class View >
GIL_FORCEINLINE void terry::draw::fill_pixels (View &dstView, const Rect< std::ssize_t > &window, const typename View::value_type &pixelValue)
 fill all pixels inside the window, with the color pixelValue.
template<class DIterator , class DPixel >
GIL_FORCEINLINE void terry::draw::fill_pixels_range (DIterator dstBegin, const DIterator &dstEnd, const DPixel &pixelValue)
 fill a range of pixels (on the same line or with an 1d_traversable image).