Expand description
Embedded-graphics-coordinate-transform is a helper library for rotating, mirroring and transposing embedded-graphics displays.
This library provides a single generic implementation of a coordinate transformation wrapper
CoordinateTransform. However, in most cases you will want to specifically rotate, mirror or
transpose the display, so a number of helper types are provided.
MirrorX: Mirror pixels along the x-axis.MirrorY: Mirror pixels along the y-axis.MirrorXY: Mirror pixels along both axes.TransposeXY: Transpose the x and y axes.Rotate0: Rotate the display by 0 degrees.Rotate90: Rotate the display by 90 degrees.Rotate180: Rotate the display by 180 degrees.Rotate270: Rotate the display by 270 degrees.

Structs§
- Coordinate
Transform - A generic coordinate transform that can both mirror along the x and y axes and transpose.
Type Aliases§
- MirrorX
- A coordinate transform that mirrors pixels along the x-axis of the display.
- MirrorXY
- A coordinate transform that mirrors pixels along both the x and y axes of the display.
- MirrorY
- A coordinate transform that mirrors pixels along the y-axis of the display.
- Rotate0
- A coordinate transform that rotates the display by 0 degrees.
- Rotate90
- A coordinate transform that rotates the display by 90 degrees.
- Rotate180
- A coordinate transform that rotates the display by 180 degrees.
- Rotate270
- A coordinate transform that rotates the display by 270 degrees.
- TransposeXY
- A coordinate transform that transposes the x and y axes of the display.