HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Structures | Namespaces | Typedefs | Functions
axis_aligned_rectangle.hpp File Reference
#include "alignment.hpp"
#include "extent.hpp"
#include "point.hpp"
#include "margins.hpp"
#include "../SIMD/module.hpp"
#include "../utility/module.hpp"
#include "../concurrency/module.hpp"
#include <concepts>
#include <mutex>

Go to the source code of this file.

Data Structures

class  hi::v1::geo::axis_aligned_rectangle< T >
 Class which represents an axis-aligned rectangle. More...
 
class  std::atomic< hi::geo::axis_aligned_rectangle< T > >
 
struct  std::formatter< hi::geo::axis_aligned_rectangle< float >, CharT >
 
struct  std::formatter< hi::geo::axis_aligned_rectangle< int >, CharT >
 

Namespaces

namespace  hi
 geometry/margins.hpp
 
namespace  hi::v1
 The HikoGUI API version 1.
 
namespace  hi::v1::geo
 HikoGUI geometry types.
 

Typedefs

using hi::v1::aarectangle = geo::axis_aligned_rectangle<float>
 
using hi::v1::aarectanglei = geo::axis_aligned_rectangle<int>
 

Functions

aarectangle hi::v1::fit (aarectangle const &bounds, aarectangle const &rectangle) noexcept
 Make a rectangle fit inside bounds.
 
aarectanglei hi::v1::fit (aarectanglei const &bounds, aarectanglei const &rectangle) noexcept
 Make a rectangle fit inside bounds.
 
template<>
constexpr aarectanglei hi::v1::narrow_cast (aarectangle const &rhs) noexcept
 
template<>
constexpr aarectangle hi::v1::narrow_cast (aarectanglei const &rhs) noexcept