2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-22 05:12:30 +00:00
Files
gil/test/core/point/test_fixture.hpp
Marco Langer 573ba132cd fix: broken build for midpoint_ellipse_rasterizer::draw_curve (#705)
* fix: ellipse_rasterizer draw_curve()
* moved ostream operator overload of point into test fixture file
2022-07-04 21:09:21 +02:00

23 lines
576 B
C++

//
// Copyright 2022 Marco Langer <langer.m86@gmail.com>
//
// 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)
//
#include <boost/gil/point.hpp>
#include <ostream>
namespace boost { namespace gil {
// necessary to use point directly with boost test macros
template <typename T>
auto operator<<(std::ostream& os, point<T> const& p) -> std::ostream&
{
return os << "{x=" << p.x << ", y=" << p.y << "}";
}
}} // namespace boost::gil