-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Added missing include guard to line rasterizer (#687)
- Loading branch information
1 parent
9ecdb87
commit 1c6c427
Showing
6 changed files
with
28 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
// Boost.GIL (Generic Image Library) - tests | ||
// | ||
// Copyright 2020 Olzhas Zhumabek <[email protected]> | ||
// | ||
// Use, modification and distribution are subject to the Boost Software License, | ||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt) | ||
// | ||
#ifndef BOOST_GIL_RASTERIZATION_CIRCLE_HPP | ||
#define BOOST_GIL_RASTERIZATION_CIRCLE_HPP | ||
#ifndef BOOST_GIL_EXTENSION_RASTERIZATION_CIRCLE_HPP | ||
#define BOOST_GIL_EXTENSION_RASTERIZATION_CIRCLE_HPP | ||
|
||
#include <boost/gil/detail/math.hpp> | ||
#include <boost/gil/point.hpp> | ||
|
||
#include <cmath> | ||
#include <cstddef> | ||
|
||
namespace boost { namespace gil { | ||
|
||
/// \defgroup CircleRasterization | ||
/// \ingroup Rasterization | ||
/// \brief Circle rasterization algorithms | ||
|
@@ -122,5 +123,7 @@ struct midpoint_circle_rasterizer | |
} | ||
} | ||
}; | ||
|
||
}} // namespace boost::gil | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
// Boost.GIL (Generic Image Library) - tests | ||
// | ||
// Copyright 2020 Olzhas Zhumabek <[email protected]> | ||
// | ||
// Use, modification and distribution are subject to the Boost Software License, | ||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt) | ||
// | ||
#ifndef BOOST_GIL_EXTENSION_RASTERIZATION_LINE_HPP | ||
#define BOOST_GIL_EXTENSION_RASTERIZATION_LINE_HPP | ||
|
||
#include <boost/gil/point.hpp> | ||
|
||
#include <cmath> | ||
#include <cstddef> | ||
|
||
namespace boost | ||
{ | ||
namespace gil | ||
{ | ||
namespace boost { namespace gil { | ||
|
||
/// \defgroup Rasterization | ||
/// \brief A set of functions to rasterize shapes | ||
/// | ||
|
@@ -95,3 +95,5 @@ struct bresenham_line_rasterizer | |
}; | ||
|
||
}} // namespace boost::gil | ||
|
||
#endif |