42template <
typename Po
intType,
typename SizeType>
61 using type = peak_common_interval_u;
67 using type = peak_common_interval;
73 using type = peak_common_interval_f;
77struct c_type_of_<
RectangleT<int32_t, uint32_t>>
79 using type = peak_common_rectangle;
85 using type = peak_common_rectangle_f;
89struct c_type_of_<
PointT<int32_t>>
91 using type = peak_common_point;
95struct c_type_of_<
PointT<uint32_t>>
97 using type = peak_common_point_u;
101struct c_type_of_<
PointT<float>>
103 using type = peak_common_point_f;
107struct c_type_of_<
SizeT<uint32_t>>
109 using type = peak_common_size;
113struct c_type_of_<
SizeT<float>>
115 using type = peak_common_size_f;
118template <
typename...>
122using c_type_of_t =
typename c_type_of_<T>::type;
125using handle_of_t = c_type_of_t<T>*;
127template <
typename,
typename =
void>
128struct has_c_type_of : std::false_type
132struct has_c_type_of<T, void_t<typename c_type_of_<T>::type>> : std::true_type
Represents a continuous numeric interval with inclusive lower and upper bounds.
Definition peak_common_interval.hpp:44
2D point template type.
Definition peak_common_point.hpp:192
A generic rectangle defined by a point and a size.
Definition peak_common_rectangle.hpp:41
Represents a two-dimensional size with non-negative width and height.
Definition peak_common_size.hpp:42
Namespace for internal implementation details and low-level types.
Definition peak_common_math.hpp:24
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:22
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:33
Represents a floating-point interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:57
Represents an unsigned integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:43
Represents an integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:29
Represents a 2D point with floating-point coordinates.
Definition peak_common_simple_types.h:136
Represents a 2D point with unsigned integer coordinates.
Definition peak_common_simple_types.h:119
Represents a 2D point with signed integer coordinates.
Definition peak_common_simple_types.h:102
Represents a rectangle defined by a floating-point position and size.
Definition peak_common_simple_types.h:183
Represents a rectangle defined by a position and unsigned integer size.
Definition peak_common_simple_types.h:160
Represents a 2D size with floating-point dimensions.
Definition peak_common_simple_types.h:85
Represents a 2D size with unsigned integer dimensions.
Definition peak_common_simple_types.h:71