|
TuttleOFX
1
|
Functions | |
| template<class View > | |
| GIL_FORCEINLINE void | fill_pixels (View &dstView, const typename View::value_type &pixelValue) |
| template<class View > | |
| GIL_FORCEINLINE void | 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 | 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). | |
| GIL_FORCEINLINE void terry::draw::fill_pixels | ( | View & | dstView, |
| const typename View::value_type & | pixelValue | ||
| ) |
Definition at line 14 of file fill.hpp.
Referenced by fill_pixels().
| 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.
| [out] | dstView | Image view to fill. |
| [in] | window | Rectangle region of the image to fill. |
| [in] | pixelValue | Pixel value used to fill. |
Definition at line 30 of file fill.hpp.
References fill_pixels(), terry::subimage_view(), terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

| 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).
| [out] | dstBegin | Begining of the region to fill. The content is filled but the original iterator is not modified (not a reference parameter). |
| [in] | dstEnd | End of the region to fill. |
| [in] | pixelValue | Pixel value used to fill. |
Definition at line 49 of file fill.hpp.
Referenced by terry::filter::floodFill::flood_fill().