HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Structures | Namespaces | Typedefs | Functions
extent.hpp File Reference

Defined the geo::extent, extent2 and extent3 types. More...

#include "vector.hpp"
#include "../rapid/numeric_array.hpp"
#include "../cast.hpp"
#include "../numbers.hpp"
#include <compare>

Go to the source code of this file.

Data Structures

class  hi::v1::geo::extent< T, D >
 A high-level geometric extent. More...
 
struct  std::formatter< hi::geo::extent< float, 2 >, CharT >
 
struct  std::formatter< hi::geo::extent< float, 3 >, CharT >
 
struct  std::formatter< hi::geo::extent< int, 2 >, CharT >
 
struct  std::formatter< hi::geo::extent< int, 3 >, 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::extent2 = geo::extent<float, 2>
 A 2D extent.
 
using hi::v1::extent3 = geo::extent<float, 3>
 A 3D extent.
 
using hi::v1::extent2i = geo::extent<int, 2>
 A 2D extent.
 
using hi::v1::extent3i = geo::extent<int, 3>
 A 3D extent.
 

Functions

template<>
constexpr extent2i hi::v1::narrow_cast (extent2 const &rhs) noexcept
 
template<>
constexpr extent2 hi::v1::narrow_cast (extent2i const &rhs) noexcept
 

Detailed Description

Defined the geo::extent, extent2 and extent3 types.