Léa Saviot
|
ed19d19070
|
Merge branch 'master' into python_turtle
|
2018-12-17 15:49:46 +01:00 |
|
Léa Saviot
|
e836593ff9
|
[kandinsky] In KDContext::getPixels: beware of rects crossing the screen
This fixes a display glitch on the device, when using Python's turtle
module and doing the command forward(200).
|
2018-12-07 11:30:32 +01:00 |
|
Léa Saviot
|
eda07922ab
|
[kandinsky/font] fetchGlyphForChar handles chars that do not have glyphs
|
2018-11-23 12:04:10 +01:00 |
|
Romain Goyet
|
a9091c933b
|
[python/turtle] Use a Turtle class
|
2018-11-16 15:31:31 +01:00 |
|
Jean-Baptiste Boric
|
464c1a5c95
|
[python] Initial turtle module
|
2018-10-27 14:24:36 +02:00 |
|
Romain Goyet
|
f4f567814e
|
[escher] Compress images
|
2018-10-12 09:36:44 +02:00 |
|
Romain Goyet
|
dfb30e5799
|
[kandinsky] Remove some warnings
|
2018-10-11 16:44:02 +02:00 |
|
Romain Goyet
|
1dd1e6ca8d
|
[kandinsky] Handle drawing clipped text
Text can be drawn in a rect that cannot contain the whole character.
Luckily, we have fillRectWithPixels handy to handle such cases.
|
2018-10-11 16:44:02 +02:00 |
|
Romain Goyet
|
c183f0147e
|
[kandinsky] Get rid of KDText
|
2018-10-11 16:44:02 +02:00 |
|
Romain Goyet
|
f8beae3b86
|
[kandinsky] Move to KDFont
|
2018-10-11 16:44:02 +02:00 |
|
Romain Goyet
|
29882768bd
|
[kandinsky] Use LZ4 to compress fonts
This is a work-in-progress
|
2018-10-11 16:44:02 +02:00 |
|
Romain Goyet
|
83662ebf70
|
[kandinsky] Remove warning, add missing file
|
2018-10-11 16:44:02 +02:00 |
|
Romain Goyet
|
da4cc4356f
|
[kandinsky] Introduce a KDFont class
|
2018-10-11 16:44:02 +02:00 |
|
Léa Saviot
|
34d6028882
|
[kandinsky] Add method KDRect::differencedWith(const KDRect & other)
Change-Id: Ib6c61bbd3bffc90bc3e704a7133eae0731500864
|
2018-04-25 13:58:43 +02:00 |
|
Léa Saviot
|
fc8cd6c06e
|
[expression_editor/poincare] Move Up in an ExpressionLayout.
Change-Id: I75fd91233729afd4eb77d8e9d53c102a632643ea
|
2018-01-15 11:58:01 +01:00 |
|
Émilie Feral
|
887e3d1f54
|
[kandinksy] Optimize strokeRect implementation
|
2018-01-04 15:48:06 +01:00 |
|
Émilie Feral
|
57866ce788
|
[kandinsky] Make charSize methods constexpr
|
2018-01-04 15:48:06 +01:00 |
|
Émilie Feral
|
c545a23ec6
|
[kandinsky] Fix draw rect+change name: drawRect->strokeRect
Change-Id: I1c59e34b126aa54819e399d095499758b9e73125
|
2017-12-06 14:49:53 +01:00 |
|
Jacob Young
|
17ac54cad5
|
Use cmath in c++ files.
|
2017-10-13 18:08:15 +02:00 |
|
Émilie Feral
|
133653c7e0
|
[kandinsky] Change name to avoid confusion: blend ->
transparentBackground
Change-Id: I90327e71699e5ec4b349544e537e04327ec2bd7c
|
2017-08-28 11:51:17 +02:00 |
|
Émilie Feral
|
3184bc2276
|
[kandinsky] Enable to draw string with \n or \t characters
Change-Id: I66a1953dd1eb00d7f397b32a69edb56a1d83f4ac
|
2017-08-25 11:20:48 +02:00 |
|
Émilie Feral
|
6054f02373
|
[kandinsky] In KDRect, right and bottom Points are included in the rect
Change-Id: I36fd049a808d9ab2e6cb0de5b366a9645a403ef1
|
2017-08-17 16:21:22 +02:00 |
|
Émilie Feral
|
5c4740913b
|
[kandinsky] Replace KDText::stringSize(" ") by KDText::charSize()
Change-Id: Ie962d7784b54ff41431d21f64d9af0887a86f9b7
|
2017-08-17 16:21:17 +02:00 |
|
Romain Goyet
|
cbc78460ac
|
[kandinsky] KDContext::drawString can take a max length
Change-Id: I59cf0c1fbfb2288ab54905a4fd2558885c279814
|
2017-08-03 23:26:29 +02:00 |
|
Romain Goyet
|
0a6e223230
|
[kandinsky] Inline KDColor::red, green and blue
Change-Id: Ief45fa20155c5857be36e2acd7351dfdf71639cb
|
2017-07-21 14:00:50 +02:00 |
|
Émilie Feral
|
b9e52978ba
|
[kandinsky] Avoid weird blinking in sequence term sum due to wrong rect
union
Change-Id: Ib873f272be4404678e99c5163138ddfd890d4707
|
2017-06-08 18:30:47 +02:00 |
|
Émilie Feral
|
ed3ccb992e
|
[kandinsky] Correct drawrect
Change-Id: I5dca3d0ac417692cf1dfc0a5fd4dc37ae6c9a440
|
2017-05-10 17:54:27 +02:00 |
|
Émilie Feral
|
34464816e0
|
[kandinsky] Enable fillRectWithPixels to work without working buffer
Change-Id: I25b45633cab25610a91c2b91e9a35b8589a589c8
|
2017-04-07 14:52:41 +02:00 |
|
Émilie Feral
|
7580761e8f
|
[kandinsky] Correct bug
Change-Id: If6730dd0418c9d9d3c7428688750f47ec4c8edbe
|
2017-03-02 15:35:03 +01:00 |
|
Émilie Feral
|
b4198fc453
|
[kandinsky] In the rasterizer, correct constant naming
Change-Id: Ifa9ccfe293ff6934ae1c0d908c4a828ca5225728
|
2017-01-27 12:03:48 +01:00 |
|
Émilie Feral
|
9d0354f3bd
|
[kandinsky] Add a default font size : large
Change-Id: I6b9f1a7b09292f120074c8957e328ddc33023c67
|
2017-01-27 12:03:06 +01:00 |
|
Émilie Feral
|
e6d5a8dfd1
|
[ion] Add a charset to associate char code to special symbols
Change-Id: I7533318185a7a66080ac68ced9b051d5e22b156d
|
2017-01-27 11:52:39 +01:00 |
|
Émilie Feral
|
804168ec76
|
[kandinsky] Rasterize some non-ASCII glyphs
Change-Id: I7e8ac19de72a35621a7101b3bf4686e5e7b6763e
|
2017-01-27 11:52:32 +01:00 |
|
Émilie Feral
|
f51ae5db12
|
[kandinsky] Introduce two fonts: small font and large font
Change-Id: I502dfa88d627b09ac5af76155140af63547025cd
|
2017-01-27 11:14:01 +01:00 |
|
Émilie Feral
|
fed6664b42
|
[kandinsky] Correct error: clip the pixels if the rect has been clipped
Change-Id: If4230d49fbea7d7c12d79160a6d52345c570d54f
|
2016-12-15 13:51:40 +01:00 |
|
Émilie Feral
|
12d2b2311e
|
[Kandinsky] Create inline method min and max
Change-Id: Ia3b3ef4373a9ac47d1612d3cf31a8c4d0c850e5a
|
2016-12-08 17:10:36 +01:00 |
|
Émilie Feral
|
5212c95454
|
[Kandinsky] Add methods in context to blend string
Change-Id: I7d889eea4667f35cd62d6e0bcabb8b8e9861a81e
|
2016-12-08 15:21:52 +01:00 |
|
Romain Goyet
|
d6e96fe143
|
[kandinsky] Explicit color constructors
Change-Id: Ifd4a0c281a7c6aded225d06295f4d79039e4e848
|
2016-11-21 14:06:10 +01:00 |
|
Émilie Feral
|
a96490d232
|
[Kandinsky] change method name: blendRectWithMask
Change-Id: Iea893d2d545aa792c305a7d5880516a7f25e928c
|
2016-11-18 11:46:30 +01:00 |
|
Émilie Feral
|
ee02edee35
|
[escher] In text view, clean how exception (nullptr) are handled
Change-Id: Ibd1c3939c910a3da741bb92f8b341e02cf0bb63c
|
2016-10-14 12:24:32 +02:00 |
|
Romain Goyet
|
270b241d11
|
[kandinsky] Optimize KDColor::blend
Change-Id: Icb1701bf5f95023d49a96a355be7ff43c326f8eb
|
2016-09-30 15:36:23 +02:00 |
|
Romain Goyet
|
3e62ead069
|
[Kandinsky] drawChar now takes two colors
Change-Id: I0d99bb5e6c22ad582d82eae643168e6c1118f434
|
2016-09-15 16:34:01 +02:00 |
|
Romain Goyet
|
7d49decd03
|
[kandinsky] optimize KDFrameBuffer::pushRectUniform
Change-Id: Ie1217a8c70817110b52e505e1cf60eab08180cac
|
2016-08-29 13:38:06 +02:00 |
|
Romain Goyet
|
753a4a7cb5
|
[Ion] Move to C++
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
|
2016-08-23 16:30:15 +02:00 |
|
Romain Goyet
|
e1dcffd4ce
|
[Kandinsky] Use fillRect instead of setPixel for text blitting
Change-Id: I8aa29abcfbd2f962d8991d24409019f4f58c627c
|
2016-08-19 16:58:12 +02:00 |
|
Romain Goyet
|
c5916572fe
|
[Kandinsky] Inline very simple operations on KDPoint and KDSize
Change-Id: I35f6bc9450b35b1ab7a0dcadce69dddf932dd23f
|
2016-08-19 10:51:25 +02:00 |
|
Romain Goyet
|
b9b3a1b2e5
|
[Kandinsky] Inline very simple operations on KDRect
Change-Id: Ie46f7d159ef28cd30f059bdd96d3894137f2a675
|
2016-08-19 10:48:23 +02:00 |
|
Romain Goyet
|
7cbac15517
|
[Kandinsky] Add setters to KDRect
Change-Id: I0386a7469442ea42cf50e33b48f26509a9eba33a
|
2016-08-19 10:33:29 +02:00 |
|
Romain Goyet
|
f93da3b0d8
|
[Kandinsky] Create a KDText class for text measurement
Change-Id: Ie3ecd402b5476f41a2f8694a276f62495fbcdbd1
|
2016-08-19 10:31:15 +02:00 |
|
Romain Goyet
|
edf4ac9141
|
[kandinsky] Remove dead code
Change-Id: I26238032095a74990a2dc4e31429d56aa1d42c24
|
2016-08-18 17:15:22 +02:00 |
|