mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-13 10:48:08 +00:00
Added thirdparty: boost library
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
#ifndef BOOST_GIL_EXTENSION_RASTERIZATION_APPLY_RASTERIZER
|
||||
#define BOOST_GIL_EXTENSION_RASTERIZATION_APPLY_RASTERIZER
|
||||
|
||||
namespace boost { namespace gil {
|
||||
|
||||
namespace detail {
|
||||
|
||||
template <typename View, typename Rasterizer, typename Pixel, typename Tag>
|
||||
struct apply_rasterizer_op
|
||||
{
|
||||
void operator()(
|
||||
View const& view, Rasterizer const& rasterizer, Pixel const& pixel);
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
|
||||
template <typename View, typename Rasterizer, typename Pixel>
|
||||
void apply_rasterizer(
|
||||
View const& view, Rasterizer const& rasterizer, Pixel const& pixel)
|
||||
{
|
||||
using tag_t = typename Rasterizer::type;
|
||||
detail::apply_rasterizer_op<View, Rasterizer, Pixel, tag_t>{}(
|
||||
view, rasterizer, pixel);
|
||||
}
|
||||
|
||||
}} // namespace boost::gil
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user