Skip to content

Commit 75f9969

Browse files
authored
Merge pull request #2873 from WarriorOfWire/vectorio
Add vectorio: for drawing shapes
2 parents f7303e6 + 5a80f5e commit 75f9969

File tree

53 files changed

+1721
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1721
-57
lines changed

locale/ID.po

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-05-11 21:38-0500\n"
11+
"POT-Creation-Date: 2020-05-12 12:24-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -70,13 +70,22 @@ msgstr ""
7070
msgid "%q indices must be integers, not %s"
7171
msgstr ""
7272

73+
#: shared-bindings/vectorio/Polygon.c
74+
msgid "%q list must be a list"
75+
msgstr ""
76+
7377
#: shared-bindings/_bleio/CharacteristicBuffer.c
7478
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
75-
#: shared-bindings/displayio/Shape.c
79+
#: shared-bindings/displayio/Shape.c shared-bindings/vectorio/Circle.c
80+
#: shared-bindings/vectorio/Rectangle.c
7681
#, fuzzy
7782
msgid "%q must be >= 1"
7883
msgstr "buffers harus mempunyai panjang yang sama"
7984

85+
#: shared-bindings/vectorio/Polygon.c
86+
msgid "%q must be a tuple of length 2"
87+
msgstr ""
88+
8089
#: shared-bindings/fontio/BuiltinFont.c
8190
msgid "%q should be an int"
8291
msgstr ""
@@ -2017,6 +2026,10 @@ msgstr ""
20172026
msgid "chr() arg not in range(256)"
20182027
msgstr ""
20192028

2029+
#: shared-module/vectorio/Circle.c
2030+
msgid "circle can only be registered in one parent"
2031+
msgstr ""
2032+
20202033
#: shared-bindings/displayio/Palette.c
20212034
msgid "color buffer must be 3 bytes (RGB) or 4 bytes (RGB + pad byte)"
20222035
msgstr ""
@@ -2119,6 +2132,10 @@ msgstr ""
21192132
msgid "empty"
21202133
msgstr ""
21212134

2135+
#: shared-bindings/vectorio/Polygon.c
2136+
msgid "empty %q list"
2137+
msgstr ""
2138+
21222139
#: extmod/moduheapq.c extmod/modutimeq.c
21232140
msgid "empty heap"
21242141
msgstr "heap kosong"
@@ -2809,10 +2826,14 @@ msgstr ""
28092826
msgid "pixel value requires too many bits"
28102827
msgstr ""
28112828

2812-
#: shared-bindings/displayio/TileGrid.c
2829+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
28132830
msgid "pixel_shader must be displayio.Palette or displayio.ColorConverter"
28142831
msgstr ""
28152832

2833+
#: shared-module/vectorio/Polygon.c
2834+
msgid "polygon can only be registered in one parent"
2835+
msgstr ""
2836+
28162837
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
28172838
#: ports/cxd56/common-hal/pulseio/PulseIn.c
28182839
#: ports/nrf/common-hal/pulseio/PulseIn.c
@@ -3132,7 +3153,8 @@ msgstr ""
31323153
msgid "unreadable attribute"
31333154
msgstr ""
31343155

3135-
#: shared-bindings/displayio/TileGrid.c
3156+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3157+
#: shared-bindings/vectorio/VectorShape.c
31363158
msgid "unsupported %q type"
31373159
msgstr ""
31383160

locale/circuitpython.pot

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-05-11 21:38-0500\n"
11+
"POT-Creation-Date: 2020-05-12 12:24-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -70,12 +70,21 @@ msgstr ""
7070
msgid "%q indices must be integers, not %s"
7171
msgstr ""
7272

73+
#: shared-bindings/vectorio/Polygon.c
74+
msgid "%q list must be a list"
75+
msgstr ""
76+
7377
#: shared-bindings/_bleio/CharacteristicBuffer.c
7478
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
75-
#: shared-bindings/displayio/Shape.c
79+
#: shared-bindings/displayio/Shape.c shared-bindings/vectorio/Circle.c
80+
#: shared-bindings/vectorio/Rectangle.c
7681
msgid "%q must be >= 1"
7782
msgstr ""
7883

84+
#: shared-bindings/vectorio/Polygon.c
85+
msgid "%q must be a tuple of length 2"
86+
msgstr ""
87+
7988
#: shared-bindings/fontio/BuiltinFont.c
8089
msgid "%q should be an int"
8190
msgstr ""
@@ -1993,6 +2002,10 @@ msgstr ""
19932002
msgid "chr() arg not in range(256)"
19942003
msgstr ""
19952004

2005+
#: shared-module/vectorio/Circle.c
2006+
msgid "circle can only be registered in one parent"
2007+
msgstr ""
2008+
19962009
#: shared-bindings/displayio/Palette.c
19972010
msgid "color buffer must be 3 bytes (RGB) or 4 bytes (RGB + pad byte)"
19982011
msgstr ""
@@ -2095,6 +2108,10 @@ msgstr ""
20952108
msgid "empty"
20962109
msgstr ""
20972110

2111+
#: shared-bindings/vectorio/Polygon.c
2112+
msgid "empty %q list"
2113+
msgstr ""
2114+
20982115
#: extmod/moduheapq.c extmod/modutimeq.c
20992116
msgid "empty heap"
21002117
msgstr ""
@@ -2784,10 +2801,14 @@ msgstr ""
27842801
msgid "pixel value requires too many bits"
27852802
msgstr ""
27862803

2787-
#: shared-bindings/displayio/TileGrid.c
2804+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
27882805
msgid "pixel_shader must be displayio.Palette or displayio.ColorConverter"
27892806
msgstr ""
27902807

2808+
#: shared-module/vectorio/Polygon.c
2809+
msgid "polygon can only be registered in one parent"
2810+
msgstr ""
2811+
27912812
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
27922813
#: ports/cxd56/common-hal/pulseio/PulseIn.c
27932814
#: ports/nrf/common-hal/pulseio/PulseIn.c
@@ -3106,7 +3127,8 @@ msgstr ""
31063127
msgid "unreadable attribute"
31073128
msgstr ""
31083129

3109-
#: shared-bindings/displayio/TileGrid.c
3130+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3131+
#: shared-bindings/vectorio/VectorShape.c
31103132
msgid "unsupported %q type"
31113133
msgstr ""
31123134

locale/de_DE.po

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-05-11 21:38-0500\n"
10+
"POT-Creation-Date: 2020-05-12 12:24-0700\n"
1111
"PO-Revision-Date: 2020-04-30 17:01+0000\n"
1212
"Last-Translator: Jeff Epler <[email protected]>\n"
1313
"Language-Team: German <https://later.unpythonic.net/projects/circuitpython/"
@@ -79,12 +79,21 @@ msgstr "Der Index %q befindet sich außerhalb des Bereiches"
7979
msgid "%q indices must be integers, not %s"
8080
msgstr "%q Indizes müssen ganze Zahlen sein, nicht %s"
8181

82+
#: shared-bindings/vectorio/Polygon.c
83+
msgid "%q list must be a list"
84+
msgstr ""
85+
8286
#: shared-bindings/_bleio/CharacteristicBuffer.c
8387
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
84-
#: shared-bindings/displayio/Shape.c
88+
#: shared-bindings/displayio/Shape.c shared-bindings/vectorio/Circle.c
89+
#: shared-bindings/vectorio/Rectangle.c
8590
msgid "%q must be >= 1"
8691
msgstr "%q muss >= 1 sein"
8792

93+
#: shared-bindings/vectorio/Polygon.c
94+
msgid "%q must be a tuple of length 2"
95+
msgstr ""
96+
8897
#: shared-bindings/fontio/BuiltinFont.c
8998
msgid "%q should be an int"
9099
msgstr "%q sollte ein int sein"
@@ -2028,6 +2037,10 @@ msgstr "chr() arg ist nicht in range(0x110000)"
20282037
msgid "chr() arg not in range(256)"
20292038
msgstr "chr() arg ist nicht in range(256)"
20302039

2040+
#: shared-module/vectorio/Circle.c
2041+
msgid "circle can only be registered in one parent"
2042+
msgstr ""
2043+
20312044
#: shared-bindings/displayio/Palette.c
20322045
msgid "color buffer must be 3 bytes (RGB) or 4 bytes (RGB + pad byte)"
20332046
msgstr "Farbpuffer muss 3 Bytes (RGB) oder 4 Bytes (RGB + pad byte) sein"
@@ -2131,6 +2144,10 @@ msgstr "Division durch Null"
21312144
msgid "empty"
21322145
msgstr "leer"
21332146

2147+
#: shared-bindings/vectorio/Polygon.c
2148+
msgid "empty %q list"
2149+
msgstr ""
2150+
21342151
#: extmod/moduheapq.c extmod/modutimeq.c
21352152
msgid "empty heap"
21362153
msgstr "leerer heap"
@@ -2829,10 +2846,14 @@ msgstr "Pixelkoordinaten außerhalb der Grenzen"
28292846
msgid "pixel value requires too many bits"
28302847
msgstr ""
28312848

2832-
#: shared-bindings/displayio/TileGrid.c
2849+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
28332850
msgid "pixel_shader must be displayio.Palette or displayio.ColorConverter"
28342851
msgstr "pixel_shader muss displayio.Palette oder displayio.ColorConverter sein"
28352852

2853+
#: shared-module/vectorio/Polygon.c
2854+
msgid "polygon can only be registered in one parent"
2855+
msgstr ""
2856+
28362857
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
28372858
#: ports/cxd56/common-hal/pulseio/PulseIn.c
28382859
#: ports/nrf/common-hal/pulseio/PulseIn.c
@@ -3158,7 +3179,8 @@ msgstr ""
31583179
msgid "unreadable attribute"
31593180
msgstr "nicht lesbares Attribut"
31603181

3161-
#: shared-bindings/displayio/TileGrid.c
3182+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3183+
#: shared-bindings/vectorio/VectorShape.c
31623184
msgid "unsupported %q type"
31633185
msgstr "Nicht unterstützter %q-Typ"
31643186

locale/en_US.po

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-05-11 21:38-0500\n"
10+
"POT-Creation-Date: 2020-05-12 12:24-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -70,12 +70,21 @@ msgstr ""
7070
msgid "%q indices must be integers, not %s"
7171
msgstr ""
7272

73+
#: shared-bindings/vectorio/Polygon.c
74+
msgid "%q list must be a list"
75+
msgstr ""
76+
7377
#: shared-bindings/_bleio/CharacteristicBuffer.c
7478
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
75-
#: shared-bindings/displayio/Shape.c
79+
#: shared-bindings/displayio/Shape.c shared-bindings/vectorio/Circle.c
80+
#: shared-bindings/vectorio/Rectangle.c
7681
msgid "%q must be >= 1"
7782
msgstr ""
7883

84+
#: shared-bindings/vectorio/Polygon.c
85+
msgid "%q must be a tuple of length 2"
86+
msgstr ""
87+
7988
#: shared-bindings/fontio/BuiltinFont.c
8089
msgid "%q should be an int"
8190
msgstr ""
@@ -1993,6 +2002,10 @@ msgstr ""
19932002
msgid "chr() arg not in range(256)"
19942003
msgstr ""
19952004

2005+
#: shared-module/vectorio/Circle.c
2006+
msgid "circle can only be registered in one parent"
2007+
msgstr ""
2008+
19962009
#: shared-bindings/displayio/Palette.c
19972010
msgid "color buffer must be 3 bytes (RGB) or 4 bytes (RGB + pad byte)"
19982011
msgstr ""
@@ -2095,6 +2108,10 @@ msgstr ""
20952108
msgid "empty"
20962109
msgstr ""
20972110

2111+
#: shared-bindings/vectorio/Polygon.c
2112+
msgid "empty %q list"
2113+
msgstr ""
2114+
20982115
#: extmod/moduheapq.c extmod/modutimeq.c
20992116
msgid "empty heap"
21002117
msgstr ""
@@ -2784,10 +2801,14 @@ msgstr ""
27842801
msgid "pixel value requires too many bits"
27852802
msgstr ""
27862803

2787-
#: shared-bindings/displayio/TileGrid.c
2804+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
27882805
msgid "pixel_shader must be displayio.Palette or displayio.ColorConverter"
27892806
msgstr ""
27902807

2808+
#: shared-module/vectorio/Polygon.c
2809+
msgid "polygon can only be registered in one parent"
2810+
msgstr ""
2811+
27912812
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
27922813
#: ports/cxd56/common-hal/pulseio/PulseIn.c
27932814
#: ports/nrf/common-hal/pulseio/PulseIn.c
@@ -3106,7 +3127,8 @@ msgstr ""
31063127
msgid "unreadable attribute"
31073128
msgstr ""
31083129

3109-
#: shared-bindings/displayio/TileGrid.c
3130+
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/Polygon.c
3131+
#: shared-bindings/vectorio/VectorShape.c
31103132
msgid "unsupported %q type"
31113133
msgstr ""
31123134

0 commit comments

Comments
 (0)