waveshareteam-e-Paper/Arduino UNO
Samuli Asmala 5ff379c470
Fix pixel coordinate calculation for rotated displays
Coordinate ranges are from 0 to width-1 (or height-1). This means when calculating the rotation, using `x = this->width - y;` would lead to x of range from `this->width` (when `y=0`) to `1` (when `y=this->width-1`). Thus additional -1 is required to get correct coordinates after rotation and prevent image from clipping.
2019-07-20 11:47:25 +03:00
..
epd1in54 2019.06.24 2019-06-24 17:11:43 +08:00
epd1in54_V2 2019.06.24 2019-06-24 17:11:43 +08:00
epd1in54b 2019.06.24 2019-06-24 17:11:43 +08:00
epd1in54c 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in7 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in7b 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in9 Fix pixel coordinate calculation for rotated displays 2019-07-20 11:47:25 +03:00
epd2in9bc 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in9d 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in13 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in13_V2 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in13bc 2019.06.24 2019-06-24 17:11:43 +08:00
epd2in13d 2019.06.24 2019-06-24 17:11:43 +08:00
epd4in2 2019.06.24 2019-06-24 17:11:43 +08:00
epd4in2bc 2019.06.24 2019-06-24 17:11:43 +08:00
epd5in83 2019.06.24 2019-06-24 17:11:43 +08:00
epd5in83bc 2019.06.24 2019-06-24 17:11:43 +08:00
epd7in5 2019.06.24 2019-06-24 17:11:43 +08:00
epd7in5bc 2019.06.24 2019-06-24 17:11:43 +08:00