Commit Graph

424 Commits (35ac1325309b20c2e6131edc43bda0f04eb66b94)

Author SHA1 Message Date
Chris 3b0b5962ec Streamline a few things 2018-10-19 16:26:31 +02:00
Chris a1adeb77a4 more changes to the displaydimension trait 2018-10-19 16:16:43 +02:00
Chris a832ab9fed add more changes 2018-10-19 16:12:22 +02:00
Chris f6a894c5a3 use generalised graphics with new specialised buffers 2018-10-19 15:55:18 +02:00
Chris 1baf35c1a4 Forgotten files in previous commit 2018-10-19 14:37:41 +02:00
Chris 139096297b Generalise graphics once more
Change u16 positions to u32 to adapt to embedded graphics unsigned coordinates

Furthermore added epd4in2 defaults graphics buffer
2018-10-19 14:36:43 +02:00
Chris 9289d689b7 Fix epd1in54 example, test if old bugs are fixed 2018-10-19 11:27:16 +02:00
Chris 8922707bac Renamed drawing to graphics and extracted display-specific stuff into the display folders 2018-10-19 10:59:26 +02:00
Chris b7275198e1 remove another dublicate test case 2018-10-19 10:14:36 +02:00
Chris a522375695 Clean up and removal of a few fixed todos 2018-10-19 09:58:52 +02:00
Chris bbdecdb6f7 Update documenatation 2018-10-19 09:47:36 +02:00
Chris 0b77b069a4 improve moving hello world in example 2018-10-19 09:19:36 +02:00
Chris b3c41b0e7f improve example 2018-10-19 09:17:37 +02:00
Chris 0fc3b5da18 seperate drawing impl in multiple functions for better test coverage 2018-10-19 08:46:15 +02:00
Chris e21dbfb7e3 Removed duplicate test (from color) 2018-10-19 08:21:59 +02:00
Chris 5fbf91216c embedded graphics should be fixed now 2018-10-19 07:59:53 +02:00
Chris c145300c5d try crates.io version once more 2018-10-18 23:51:37 +02:00
Chris a29e6530b4 check upstream/master 2018-10-18 23:49:41 +02:00
Chris 529b58cd74 test if there was really a change or if the upload to crates.io was broken 2018-10-18 23:47:12 +02:00
Chris e1b76c73a3 test branch of embedded-graphics 2018-10-18 23:15:14 +02:00
Chris a75a9b74bd add anotherline to example 2018-10-18 22:59:53 +02:00
Chris 591d25f74a reverse color change 2018-10-18 22:58:34 +02:00
Chris 9d6a009f49 forgot semicolon 2018-10-18 22:55:42 +02:00
Chris 33ebb1e4f7 reduce loop 2018-10-18 22:54:57 +02:00
Chris b5dcbb0454 fix example 2018-10-18 22:53:41 +02:00
Chris dadc302945 test inverse color matching once more 2018-10-18 22:52:54 +02:00
Chris 1acdd8d107 add a line through the big font 2018-10-18 22:44:03 +02:00
Chris b9a833ec5f Revert "inverse the colors"
This reverts commit 7dd826795a.
2018-10-18 22:30:49 +02:00
Chris 7dd826795a inverse the colors 2018-10-18 22:27:13 +02:00
Chris 967c67f9a6 position font elsewhere 2018-10-18 22:21:44 +02:00
Chris 73115fd0f3 tes 2018-10-18 22:19:36 +02:00
Chris 4ff373f512 add different style to rotate90 in example 2018-10-18 22:06:47 +02:00
Chris a68ddb673a add some lines to the rotations 2018-10-18 21:54:52 +02:00
Chris 8db42f7ec7 find error 2018-10-18 21:39:33 +02:00
Chris 90ff523411 simplify example 2018-10-18 21:17:56 +02:00
Chris 2a3b10ba94 Don't make expensive calculations if pixel is outside the display and return early 2018-10-18 17:02:55 +02:00
Chris dbdb8912a8 cleanup 2018-10-18 16:22:44 +02:00
Chris 08457e503d Use the fixed embedded graphics lib once more 2018-10-18 16:20:39 +02:00
Chris 17abcc74b0 Merge branch 'add_embedded_graphics' of github.com:Caemor/eink-waveshare-rs into add_embedded_graphics 2018-10-18 16:10:10 +02:00
Chris e17697cfb1 Fix missing std-lib in a test 2018-10-18 16:09:23 +02:00
Chris d37ffd5489 test patch 2018-10-16 23:55:27 +02:00
Chris cc2d09f4aa try fixed embedded_graphics version 2018-10-16 23:49:21 +02:00
Chris dd70d02eb7 use style instead of with_stroke 2018-10-16 23:36:17 +02:00
Chris 4ca0321573 added rotation examples 2018-10-16 23:28:51 +02:00
Chris 2fb19b2df9 added many tests to drawing 2018-10-16 23:28:39 +02:00
Chris d2a47eb05c Rename Buffer Trait to Display and add a Rotation Function to it 2018-10-16 22:11:25 +02:00
Chris 8904066de6 Moved constants of type_a to its own file 2018-10-16 21:43:27 +02:00
Chris ff21d6e611 add impl Drawing<Color> for DisplayEink42BlackWhite
fix error by using option for style
2018-10-16 18:33:06 +02:00
Chris e92af2198a Fix previous commit 2018-10-16 18:26:29 +02:00
Chris 533cb84123 Make lines visible 2018-10-16 18:24:14 +02:00