IDS peak genericC++ v1.13.0
Loading...
Searching...
No Matches
peak_common_simple_types.h
Go to the documentation of this file.
1
10
11#pragma once
12
13#ifdef __cplusplus
14
15# include <cstddef>
16# include <cstdint>
17extern "C" {
18#else
19# include <stddef.h>
20# include <stdint.h>
21#endif
22
29{
31 int32_t minimum;
32
34 int32_t maximum;
36
43{
45 uint32_t minimum;
46
48 uint32_t maximum;
50
57{
59 float minimum;
60
62 float maximum;
64
70typedef struct peak_common_size
71{
73 uint32_t width;
74
76 uint32_t height;
78
84typedef struct peak_common_size_f
85{
87 float width;
88
90 float height;
92
101typedef struct peak_common_point
102{
104 int32_t x;
105
107 int32_t y;
109
119{
121 uint32_t x;
122
124 uint32_t y;
126
136{
138 float x;
139
141 float y;
143
150
160{
162 int32_t x;
163
165 int32_t y;
166
168 uint32_t width;
169
171 uint32_t height;
173
183{
185 uint32_t x;
186
188 uint32_t y;
189
191 uint32_t width;
192
194 uint32_t height;
196
206{
208 float x;
209
211 float y;
212
214 float width;
215
217 float height;
219
228{
229 uint32_t major;
230 uint32_t minor;
231 uint32_t subminor;
232 uint32_t patch;
234
235
236#ifdef __cplusplus
237} // extern "C"
238#endif // __cplusplus
peak_common_point_f peak_common_vector
Represents a 2D vector using floating-point precision.
Definition peak_common_simple_types.h:149
Represents a floating-point interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:57
float minimum
Lower bound of the interval.
Definition peak_common_simple_types.h:59
float maximum
Upper bound of the interval.
Definition peak_common_simple_types.h:62
Represents an unsigned integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:43
uint32_t minimum
Lower bound of the interval.
Definition peak_common_simple_types.h:45
uint32_t maximum
Upper bound of the interval.
Definition peak_common_simple_types.h:48
Represents an integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:29
int32_t maximum
Upper bound of the interval.
Definition peak_common_simple_types.h:34
int32_t minimum
Lower bound of the interval.
Definition peak_common_simple_types.h:31
Represents a 2D point with floating-point coordinates.
Definition peak_common_simple_types.h:136
float x
X-coordinate of the point.
Definition peak_common_simple_types.h:138
float y
Y-coordinate of the point.
Definition peak_common_simple_types.h:141
Represents a 2D point with unsigned integer coordinates.
Definition peak_common_simple_types.h:119
uint32_t x
X-coordinate of the point.
Definition peak_common_simple_types.h:121
uint32_t y
Y-coordinate of the point.
Definition peak_common_simple_types.h:124
Represents a 2D point with signed integer coordinates.
Definition peak_common_simple_types.h:102
int32_t x
X-coordinate of the point.
Definition peak_common_simple_types.h:104
int32_t y
Y-coordinate of the point.
Definition peak_common_simple_types.h:107
Represents a rectangle defined by a floating-point position and size.
Definition peak_common_simple_types.h:206
float x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:208
float width
Width of the rectangle.
Definition peak_common_simple_types.h:214
float y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:211
float height
Height of the rectangle.
Definition peak_common_simple_types.h:217
Represents a rectangle defined by an unsigned integer position and unsigned integer size.
Definition peak_common_simple_types.h:183
uint32_t width
Width of the rectangle.
Definition peak_common_simple_types.h:191
uint32_t y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:188
uint32_t x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:185
uint32_t height
Height of the rectangle.
Definition peak_common_simple_types.h:194
Represents a rectangle defined by a position and unsigned integer size.
Definition peak_common_simple_types.h:160
int32_t y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:165
uint32_t height
Height of the rectangle.
Definition peak_common_simple_types.h:171
uint32_t width
Width of the rectangle.
Definition peak_common_simple_types.h:168
int32_t x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:162
Represents a 2D size with floating-point dimensions.
Definition peak_common_simple_types.h:85
float height
Height component of the size.
Definition peak_common_simple_types.h:90
float width
Width component of the size.
Definition peak_common_simple_types.h:87
Represents a 2D size with unsigned integer dimensions.
Definition peak_common_simple_types.h:71
uint32_t width
Width component of the size.
Definition peak_common_simple_types.h:73
uint32_t height
Height component of the size.
Definition peak_common_simple_types.h:76
Represents a version number.
Definition peak_common_simple_types.h:228
uint32_t minor
Definition peak_common_simple_types.h:230
uint32_t patch
Definition peak_common_simple_types.h:232
uint32_t major
Definition peak_common_simple_types.h:229
uint32_t subminor
Definition peak_common_simple_types.h:231