3#include "terminalpp/detail/export.hpp"
4#include "terminalpp/extent.hpp"
5#include "terminalpp/point.hpp"
30 : origin_(
origin), size_(size)
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 direction with distance in space (a vector).
Definition extent.hpp:18
A class that represents a position in space.
Definition point.hpp:17
A class that represents a rectangle in space.
Definition rectangle.hpp:15
constexpr friend auto operator<=>(rectangle const &lhs, rectangle const &rhs) noexcept=default
Relational operators for rectangles.
terminalpp::extent size_
The size (amount the rectangle extends right and down) of the rectangle.
Definition rectangle.hpp:45
constexpr rectangle() noexcept=default
Default Constructor.
terminalpp::point origin_
The origin (top-left point) of the rectangle.
Definition rectangle.hpp:41