49template <
typename Po
intType,
typename SizeType>
71 using type = peak_common_interval_u;
77 using type = peak_common_interval;
83 using type = peak_common_interval_f;
87struct c_type_of_<
RangeT<uint32_t>>
89 using type = peak_common_range_u;
93struct c_type_of_<
RangeT<int32_t>>
95 using type = peak_common_range;
99struct c_type_of_<
RangeT<float>>
101 using type = peak_common_range_f;
105struct c_type_of_<
RectangleT<int32_t, uint32_t>>
107 using type = peak_common_rectangle;
113 using type = peak_common_rectangle_f;
117struct c_type_of_<
RectangleT<uint32_t, uint32_t>>
119 using type = peak_common_rectangle_u;
123struct c_type_of_<
PointT<int32_t>>
125 using type = peak_common_point;
129struct c_type_of_<
PointT<uint32_t>>
131 using type = peak_common_point_u;
135struct c_type_of_<
PointT<float>>
137 using type = peak_common_point_f;
141struct c_type_of_<
SizeT<uint32_t>>
143 using type = peak_common_size;
147struct c_type_of_<
SizeT<float>>
149 using type = peak_common_size_f;
155 using type = peak_common_version;
158template <
typename...>
162using c_type_of_t =
typename c_type_of_<T>::type;
165using handle_of_t = c_type_of_t<T>*;
167template <
typename,
typename =
void>
168struct has_c_type_of : std::false_type
172struct has_c_type_of<T, void_t<typename c_type_of_<T>::type>> : std::true_type
Represents a structured version identifier with four components: major, minor, subminor,...
Definition peak_common_version.hpp:37
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
Represents a numeric range with defined boundaries and a fixed increment.
Definition peak_common_range.hpp:44
A generic rectangle defined by a point and a size.
Definition peak_common_rectangle.hpp:42
Represents a two-dimensional size with non-negative width and height.
Definition peak_common_size.hpp:42
Version_t Version()
Query the library version.
Definition peak_afl.hpp:2162
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
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:187
Represents a 2D point with unsigned integer coordinates.
Definition peak_common_simple_types.h:170
Represents a 2D point with signed integer coordinates.
Definition peak_common_simple_types.h:153
Represents a floating-point range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:105
Represents an unsigned integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:88
Represents an integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:71
Represents a rectangle defined by a floating-point position and size.
Definition peak_common_simple_types.h:257
Represents a rectangle defined by an unsigned integer position and unsigned integer size.
Definition peak_common_simple_types.h:234
Represents a rectangle defined by a position and unsigned integer size.
Definition peak_common_simple_types.h:211
Represents a 2D size with floating-point dimensions.
Definition peak_common_simple_types.h:136
Represents a 2D size with unsigned integer dimensions.
Definition peak_common_simple_types.h:122
Represents a version number.
Definition peak_common_simple_types.h:279