Skip to content
Welcome to the new CppUtils documentation!
[[nodiscard]] virtual auto AreaBuffer::getChar(const Container::Size2<>& position) const noexcept -> const CharCell& = 0;

virtual auto AreaBuffer::setChar(const Container::Size2<>& position, const CharCell& c) noexcept -> void = 0;

[[nodiscard]] virtual auto AreaBuffer::getSize() const noexcept -> Container::Size2<> = 0;

[[nodiscard]] virtual auto AreaBuffer::toString() const -> std::string;

auto AreaBuffer::printText(Container::Size2<> position, std::string_view text, const CharAttributes& style = {}) noexcept -> void;