summaryrefslogtreecommitdiff
path: root/shared-module/vectorio/Rectangle.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-05-12 18:22:57 -0700
committerGitHub <noreply@github.com>2020-05-12 18:22:57 -0700
commit277e8d528bef84cefe854d527bf5f822e0ec8ceb (patch)
treebeaa452a5dacf21e663a884e358e2ac2d223b777 /shared-module/vectorio/Rectangle.h
parentbc40034a08a7c3b371a13610a896e1ca40c4a329 (diff)
parent75f9969860870a4ae636c74ae210275413b13c2f (diff)
Merge branch 'master' into Optical-Encoder-Module
Diffstat (limited to 'shared-module/vectorio/Rectangle.h')
-rw-r--r--shared-module/vectorio/Rectangle.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/shared-module/vectorio/Rectangle.h b/shared-module/vectorio/Rectangle.h
new file mode 100644
index 000000000..c1f2a7a64
--- /dev/null
+++ b/shared-module/vectorio/Rectangle.h
@@ -0,0 +1,15 @@
+#ifndef MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
+#define MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
+
+#include <stdint.h>
+
+#include "py/obj.h"
+
+typedef struct {
+ mp_obj_base_t base;
+ uint16_t width;
+ uint16_t height;
+} vectorio_rectangle_t;
+
+#endif // MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
+