23 using array_type = simd<value_type, 4>;
31 [[nodiscard]]
constexpr corner_radii(value_type radius) noexcept : _v(radius, radius, radius, radius) {}
32 [[nodiscard]]
constexpr corner_radii(value_type lb, value_type rb, value_type lt, value_type rt) noexcept : _v(lb, rb, lt, rt)
40 [[nodiscard]]
constexpr explicit corner_radii(array_type v) noexcept : _v(v) {}
42 [[nodiscard]]
constexpr explicit operator array_type() const noexcept
47 [[nodiscard]]
constexpr value_type left_bottom() const noexcept
52 [[nodiscard]]
constexpr value_type right_bottom() const noexcept
57 [[nodiscard]]
constexpr value_type left_top() const noexcept
62 [[nodiscard]]
constexpr value_type right_top() const noexcept
75 return get<I>(rhs._v);
93 [[nodiscard]]
constexpr friend corner_radii operator-(corner_radii
const &lhs, value_type rhs)
noexcept
95 return corner_radii{array_type{lhs} - rhs};