summaryrefslogtreecommitdiff
path: root/shared-module/vectorio/Rectangle.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-05-12 18:23:59 -0700
committerScott Shawcroft <scott@tannewt.org>2020-05-12 18:23:59 -0700
commitcde665172136b9be7720e22dbdc48c2bd224c483 (patch)
tree918cb75a7ea1dd6f144de0c16fe577ea31155b97 /shared-module/vectorio/Rectangle.h
parentc816cfed58a6f875f91a3bb8629dd81acf076882 (diff)
parent75f9969860870a4ae636c74ae210275413b13c2f (diff)
Merge remote-tracking branch 'adafruit/master' into improve_verification
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
+