aboutsummaryrefslogtreecommitdiff
path: root/src_c/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src_c/common.h')
-rw-r--r--src_c/common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src_c/common.h b/src_c/common.h
index 42fed63..660932f 100644
--- a/src_c/common.h
+++ b/src_c/common.h
@@ -36,6 +36,9 @@ typedef struct {
opcut_str_t id;
double width;
double height;
+
+ // internal
+ double area;
} opcut_panel_t;
typedef struct {
@@ -43,6 +46,9 @@ typedef struct {
double width;
double height;
bool can_rotate;
+
+ // internal
+ double area;
} opcut_item_t;
typedef struct {
@@ -68,6 +74,10 @@ typedef struct {
double height;
double x;
double y;
+
+ // internal
+ double area;
+ bool initial;
} opcut_unused_t;
typedef struct {
@@ -76,6 +86,9 @@ typedef struct {
size_t used_len;
opcut_unused_t *unused;
size_t unused_len;
+
+ // internal
+ double panels_area;
} opcut_result_t;