mirror of https://github.com/periph/devices
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* waveshare2in13v2: Populate bounds only once The forthcoming introduction of image orientation will make the computation slightly more complicated. The bounds are fixed during the lifetime of a "Dev" instance, so it's better to retain them. * waveshare2in13v2: Make sending image part of drawOpts * waveshare2in13v2: Unexport drawSpec members The members of the "drawSpec" structure are only for internal use, so rename them to start with a lower-case letter. * waveshare2in13v2: Implement support for rotating image A new option named "Origin" controls which of the four corners of the display should be used as the (0,0) position for the image. The in-memory buffer is kept in logical orientation. The actual rotation happens only when sending updates. By aligning the buffer accordingly the code is already prepared for a more efficient sending of image data for the "TopRight" and "BottomLeft" origins. See the TODO comment on "drawSpec.BufferDstOffset" for details. Signed-off-by: Michael Hanselmann <public@hansmi.ch> |
4 years ago | |
|---|---|---|
| .. | ||
| controller.go | 4 years ago | |
| controller_test.go | 4 years ago | |
| doc.go | 4 years ago | |
| drawing.go | 4 years ago | |
| drawing_test.go | 4 years ago | |
| errorhandler.go | 4 years ago | |
| example_test.go | 4 years ago | |
| waveshare213v2.go | 4 years ago | |
| waveshare213v2_test.go | 4 years ago | |