Chris
d7f3cdca97
Edition 2018 ( #24 )
...
* "cargo fix --edition" for the library
* Switch to 2018 edition
* Use cargo fix edition-idioms and remove the internal renaming from embedded_hal to hal
* Updated Readme
* run cargo fmt
4 years ago
Chris
b9395b5eff
Prepare release
...
- fix cargo fmt error
- rename forgotten stuff
5 years ago
Chris
ebb33661c3
cleanup of a few tested/resolved todos
5 years ago
Chris
2796d875f5
Add rustfmt::skip to constants and graphics::rotation
5 years ago
Chris
e518265273
Run cargo fmt (reverted for constants and some graphic calculations)
5 years ago
Chris
375adf4bff
Use `data_x_times` instead of big u8-slice
5 years ago
Chris
e76a2c45f8
Use data_x_times instead of big buffers
5 years ago
Chris
22e3ee22b2
Include `set_lut` in WaveshareDisplay Trait
5 years ago
Chris
a7d0f13d13
Fix clippy lints
5 years ago
Chris
91d7a7862a
improved docs for 2in9
5 years ago
Chris
0204e72cb5
Some last doc changes
5 years ago
Chris
3fc25d71e5
Improved Documentation
5 years ago
Chris
f039b1f6a4
Improve documentation
5 years ago
Chris
598a6924ea
Cleanup of color-module and removal of old drawing module
5 years ago
Chris
697a781ff2
Remove more or less duplicate test cases for 2in9 buffer
5 years ago
Chris
efa5591788
Added some comments to the previous commit
5 years ago
Chris
824735fb64
Fix error where pixel outside display lead to early return instead of just skipping that pixel
5 years ago
Chris
520317f351
Fixed examples and more small improvements
5 years ago
Chris
3b0b5962ec
Streamline a few things
5 years ago
Chris
a1adeb77a4
more changes to the displaydimension trait
5 years ago
Chris
a832ab9fed
add more changes
5 years ago
Chris
f6a894c5a3
use generalised graphics with new specialised buffers
5 years ago
Chris
1baf35c1a4
Forgotten files in previous commit
5 years ago
Chris
139096297b
Generalise graphics once more
...
Change u16 positions to u32 to adapt to embedded graphics unsigned coordinates
Furthermore added epd4in2 defaults graphics buffer
5 years ago
Chris
9289d689b7
Fix epd1in54 example, test if old bugs are fixed
5 years ago
Chris
8922707bac
Renamed drawing to graphics and extracted display-specific stuff into the display folders
5 years ago
Chris
b7275198e1
remove another dublicate test case
5 years ago
Chris
a522375695
Clean up and removal of a few fixed todos
5 years ago
Chris
0fc3b5da18
seperate drawing impl in multiple functions for better test coverage
5 years ago
Chris
e21dbfb7e3
Removed duplicate test (from color)
5 years ago
Chris
591d25f74a
reverse color change
5 years ago
Chris
dadc302945
test inverse color matching once more
5 years ago
Chris
b9a833ec5f
Revert "inverse the colors"
...
This reverts commit 7dd826795a
.
5 years ago
Chris
7dd826795a
inverse the colors
5 years ago
Chris
2a3b10ba94
Don't make expensive calculations if pixel is outside the display and return early
5 years ago
Chris
dbdb8912a8
cleanup
5 years ago
Chris
08457e503d
Use the fixed embedded graphics lib once more
5 years ago
Chris
17abcc74b0
Merge branch 'add_embedded_graphics' of github.com:Caemor/eink-waveshare-rs into add_embedded_graphics
5 years ago
Chris
e17697cfb1
Fix missing std-lib in a test
5 years ago
Chris
2fb19b2df9
added many tests to drawing
5 years ago
Chris
d2a47eb05c
Rename Buffer Trait to Display and add a Rotation Function to it
5 years ago
Chris
8904066de6
Moved constants of type_a to its own file
5 years ago
Chris
ff21d6e611
add impl Drawing<Color> for DisplayEink42BlackWhite
...
fix error by using option for style
5 years ago
Chris
d65cf0c578
Merge branch 'master' into add_embedded_graphics
5 years ago
Chris
98a9b1c0ed
Fix examples
5 years ago
Chris
29b7986848
Add from_u8 to color, finish drawing for 4in2
5 years ago
Chris
8a7309cfc8
Renamed old drawing mod to drawing_old
5 years ago
caemor
e30cb6f7e8
Make Enum DisplayRotation, impl Buffer and Drawing for 4in2 display
5 years ago
caemor
3196c4b387
fix embedded_graphics include
5 years ago
caemor
c16e136d09
fix
5 years ago