Laury
210a83b04d
[python/kandinsky] Added get_palette() function
2021-08-31 16:17:36 +02:00
Laury
7c1dc4d5c3
[python] merge '6fcab395' and fix a bug in fill_polygon()
2021-08-30 19:40:30 +02:00
Laury
6fcab3952f
[python] Add some useful functions in kandinsky
2021-07-08 22:34:43 +02:00
M4x1m3
134456267b
Merge branch 'master' of https://github.com/Lauryy06/epsilon into Lauryy06-master
2021-03-15 19:50:10 +01:00
Maxime FRIESS
20d7094352
Merge branch 'omega-dev' into DrawStringFont
2021-03-15 19:31:16 +01:00
Laury
297fbd3c00
[python] Add a draw_line function in kandinsky
2021-03-11 19:47:22 +01:00
Joachim LF
7b57f31fbf
[Python/kandinsky] Added in draw_string choice of font
2021-03-08 17:56:49 +01:00
Quentin Guidée
e8b86ca6a1
[upstream] Update
2020-10-10 02:28:33 +02:00
Gabriel Ozouf
34ebf1e6e0
[python/kandinsky] Remove additional interrupt
...
Additional checks for interruptions were making the kandinsky module
slower.
/!\ Some scripts are now very difficult to interrupt
Change-Id: I4c18273d8895deaac68084411a52556c8459d52b
2020-08-31 15:32:02 +02:00
Joachim LF
d7ac7e19bb
[Update] Epsilon 14
2020-07-13 10:36:47 +02:00
Quentin
db10723e76
[Update] Upstream
2020-06-18 19:25:17 +02:00
Émilie Feral
273d10dc26
[python] Change names: ColorParse::ParseColor --> Color::Parse
2020-06-04 14:50:08 +02:00
Émilie Feral
9b419acf40
[python] kandinsky port: rename TupleForRGB to TupleForKDColor
2020-04-30 14:12:32 +02:00
Émilie Feral
e7df25d558
[python] Kandinsky module: color accepts "#FF0000", "red" kinds of
...
arguments
2020-04-30 14:12:32 +02:00
Joachim LF
e76abcf67e
[Python] universal colors
2020-04-30 14:12:32 +02:00
Quentin Guidée
24907511f5
Fix conflicts
2020-02-23 13:27:10 +01:00
Léa Saviot
8fe41a8673
[python/modkandinsky] fillRect accepts negative width and height
2020-02-21 16:04:05 +01:00
Quentin Guidée
ab8f731515
Fixed some conflicts
2020-02-12 17:42:58 +01:00
Ruben Dashyan
8d3f86c77f
[kandinsky/context] getPixel only if in the clipping rect
...
Fixes the redrawing of RoundCursorView when its frame overlaps the
clipping rect.
2020-02-12 15:13:24 +01:00
elicolh
77a3b492fd
switching right and up in get_keys()
2020-01-15 18:55:30 +01:00
Damien Nicolet
8583ddafca
External application, API v2
2019-12-19 00:31:23 +01:00
Quentin Guidée
6a55305d52
Merge remote-tracking branch 'upstream/master' into omega-dev
2019-12-15 14:18:36 +01:00
Damien Nicolet
472929c028
External API for KhiCAS
2019-12-13 01:02:14 +01:00
Émilie Feral
070d362f15
[python] Improve comment
2019-12-12 14:16:13 +01:00
Quentin Guidée
f24f7b0603
Merge remote-tracking branch 'upstream/master' into omega-dev
2019-12-06 19:34:28 +01:00
Émilie Feral
49aa58446b
[python] modkandinsky: fill_rect and draw_string calls might take some
...
time. As "micropython_port_vm_hook_loop" is not called while we are
executing module code, we add an extra check for user interruption in
module functions.
2019-12-04 11:27:32 +01:00
Jean-Baptiste Boric
0971d72cec
[python] Implement get_keys in kandinsky
2019-10-11 20:07:51 +02:00
Jean-Baptiste Boric
1d575739bc
[python] Implement wait_vblank in kandinsky
2019-10-11 19:50:47 +02:00
Romain Goyet
42f72eee77
[python/kandinsky] draw_string takes two optional colors (text/bg)
2019-04-26 17:44:27 +02:00
Romain Goyet
ec50e75a3a
[python/kandinsky] Bubble-up input errors before switching to draw mode
2019-04-26 17:44:27 +02:00
Romain Goyet
926b96cafb
[python/kandinsky] Expose the fill_rect method
...
Which allows for *much* faster graphics
2019-04-26 17:44:27 +02:00
Romain Goyet
bb89ae9211
[python/kandinsky] Color can now be passed as a tuple
...
The values are expected to be integers between 0 and 255
2019-04-26 17:44:27 +02:00
Romain Goyet
d6a2238be6
[python] Clean the Kandinsky's module code
2018-11-15 17:12:01 +01:00