summaryrefslogtreecommitdiff
path: root/shared-module/vectorio/Rectangle.h
diff options
context:
space:
mode:
authorDavePutz <dwputz@gmail.com>2020-05-19 10:32:32 -0500
committerGitHub <noreply@github.com>2020-05-19 10:32:32 -0500
commit7fa5009674c7741436fd45a3d2009019280aa6f6 (patch)
tree9b9197adc9dfc2a7f7a7466abcfc2259f842c16a /shared-module/vectorio/Rectangle.h
parent114f06d8250b4250a7c035f3bb1a2820ca2720d2 (diff)
parent2c2b53303d17e07daa8f7a61740835d30f671a18 (diff)
Merge pull request #4 from adafruit/master
merge from adafruit
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
+