IDS peak AFL v2.0.2
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_range
71{
73 int32_t minimum;
74
76 int32_t maximum;
77
79 int32_t increment;
81
87typedef struct peak_common_range_u
88{
90 uint32_t minimum;
91
93 uint32_t maximum;
94
96 uint32_t increment;
98
105{
107 float minimum;
108
110 float maximum;
111
115
121typedef struct peak_common_size
122{
124 uint32_t width;
125
127 uint32_t height;
129
135typedef struct peak_common_size_f
136{
138 float width;
139
141 float height;
143
152typedef struct peak_common_point
153{
155 int32_t x;
156
158 int32_t y;
160
170{
172 uint32_t x;
173
175 uint32_t y;
177
187{
189 float x;
190
192 float y;
194
201
211{
213 int32_t x;
214
216 int32_t y;
217
219 uint32_t width;
220
222 uint32_t height;
224
234{
236 uint32_t x;
237
239 uint32_t y;
240
242 uint32_t width;
243
245 uint32_t height;
247
257{
259 float x;
260
262 float y;
263
265 float width;
266
268 float height;
270
279{
280 uint32_t major;
281 uint32_t minor;
282 uint32_t subminor;
283 uint32_t patch;
285
286
287#ifdef __cplusplus
288} // extern "C"
289#endif // __cplusplus
peak_common_point_f peak_common_vector
Represents a 2D vector using floating-point precision.
Definition peak_common_simple_types.h:200
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:187
float y
Y-coordinate of the point.
Definition peak_common_simple_types.h:192
float x
X-coordinate of the point.
Definition peak_common_simple_types.h:189
Represents a 2D point with unsigned integer coordinates.
Definition peak_common_simple_types.h:170
uint32_t y
Y-coordinate of the point.
Definition peak_common_simple_types.h:175
uint32_t x
X-coordinate of the point.
Definition peak_common_simple_types.h:172
Represents a 2D point with signed integer coordinates.
Definition peak_common_simple_types.h:153
int32_t y
Y-coordinate of the point.
Definition peak_common_simple_types.h:158
int32_t x
X-coordinate of the point.
Definition peak_common_simple_types.h:155
Represents a floating-point range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:105
float minimum
Lower bound of the range.
Definition peak_common_simple_types.h:107
float maximum
Upper bound of the range.
Definition peak_common_simple_types.h:110
float increment
Step size or increment of the range.
Definition peak_common_simple_types.h:113
Represents an unsigned integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:88
uint32_t increment
Step size or increment of the range.
Definition peak_common_simple_types.h:96
uint32_t minimum
Lower bound of the range.
Definition peak_common_simple_types.h:90
uint32_t maximum
Upper bound of the range.
Definition peak_common_simple_types.h:93
Represents an integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:71
int32_t increment
Step size or increment of the range.
Definition peak_common_simple_types.h:79
int32_t maximum
Upper bound of the range.
Definition peak_common_simple_types.h:76
int32_t minimum
Lower bound of the range.
Definition peak_common_simple_types.h:73
Represents a rectangle defined by a floating-point position and size.
Definition peak_common_simple_types.h:257
float height
Height of the rectangle.
Definition peak_common_simple_types.h:268
float y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:262
float x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:259
float width
Width of the rectangle.
Definition peak_common_simple_types.h:265
Represents a rectangle defined by an unsigned integer position and unsigned integer size.
Definition peak_common_simple_types.h:234
uint32_t width
Width of the rectangle.
Definition peak_common_simple_types.h:242
uint32_t height
Height of the rectangle.
Definition peak_common_simple_types.h:245
uint32_t y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:239
uint32_t x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:236
Represents a rectangle defined by a position and unsigned integer size.
Definition peak_common_simple_types.h:211
uint32_t width
Width of the rectangle.
Definition peak_common_simple_types.h:219
uint32_t height
Height of the rectangle.
Definition peak_common_simple_types.h:222
int32_t y
Y-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:216
int32_t x
X-coordinate of the rectangle's origin.
Definition peak_common_simple_types.h:213
Represents a 2D size with floating-point dimensions.
Definition peak_common_simple_types.h:136
float height
Height component of the size.
Definition peak_common_simple_types.h:141
float width
Width component of the size.
Definition peak_common_simple_types.h:138
Represents a 2D size with unsigned integer dimensions.
Definition peak_common_simple_types.h:122
uint32_t width
Width component of the size.
Definition peak_common_simple_types.h:124
uint32_t height
Height component of the size.
Definition peak_common_simple_types.h:127
Represents a version number.
Definition peak_common_simple_types.h:279
uint32_t subminor
Definition peak_common_simple_types.h:282
uint32_t patch
Definition peak_common_simple_types.h:283
uint32_t minor
Definition peak_common_simple_types.h:281
uint32_t major
Definition peak_common_simple_types.h:280