Commit Graph

12 Commits

Author SHA1 Message Date
Léa Saviot
a56a73b0ba [apps/calculation] Fix calculation height computation
It was done in two places before, which created inconsistencies
2020-05-28 04:44:27 -07:00
Romain Goyet
950862f8d0 Use std::min and std::max 2020-04-14 09:31:02 -04:00
Léa Saviot
43031928c3 Remove max/min inline from KDCoordinate header 2019-04-12 15:16:51 +02: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
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
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
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
12d2b2311e [Kandinsky] Create inline method min and max
Change-Id: Ia3b3ef4373a9ac47d1612d3cf31a8c4d0c850e5a
2016-12-08 17:10:36 +01: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
5de28e01db Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00