3#include "terminalpp/core.hpp"
23 constexpr point() : y_(0), x_(0)
33 constexpr point(coordinate_type
x, coordinate_type
y)
noexcept
A structure representing an ANSI graphics effect (e.g. intensity, underlining)
Definition effect.hpp:27
constexpr effect() noexcept
Initialises the intensity to the default (normal) value.
Definition effect.hpp:31
A class that represents a position in space.
Definition point.hpp:17
constexpr friend auto operator<=>(point const &lhs, point const &rhs) noexcept=default
Relational operators for points.
constexpr point & operator+=(point const &rhs) noexcept
Addition.
Definition point.hpp:41
constexpr point(coordinate_type x, coordinate_type y) noexcept
Constructor.
Definition point.hpp:33
constexpr point & operator-=(point const &rhs) noexcept
Subtraction.
Definition point.hpp:60
constexpr point()
Default Constructor.
Definition point.hpp:23
constexpr friend auto operator-(point lhs, point const &rhs) noexcept
Subtraction.
Definition point.hpp:70
constexpr friend auto operator+(point lhs, point const &rhs) noexcept
Addition.
Definition point.hpp:51