|
libepaper 2.0.0
A C++23 library for controlling Waveshare e-paper displays on Raspberry Pi, featuring transparent sleep/wake management and a fluent builder API.
|
Enumerations | |
| enum class | PlaneCount : std::uint8_t { One , Two , Three } |
| Type-safe enumeration for framebuffer plane counts. More... | |
Functions | |
| constexpr auto | plane_count_value (PlaneCount count) noexcept -> std::size_t |
| auto | transform_coordinates (std::size_t x, std::size_t y, std::size_t width, std::size_t height, Orientation orientation) -> std::pair< std::size_t, std::size_t > |
Variables | |
| constexpr std::size_t | PLANE_COUNT_ONE = 1 |
| Number of planes for single-plane displays (BW, Gray4, Spectra6) | |
| constexpr std::size_t | PLANE_COUNT_TWO = 2 |
| Number of planes for dual-plane displays (BWR, BWY) | |
| constexpr std::size_t | PLANE_COUNT_THREE = 3 |
| Number of planes for triple-plane displays (reserved for future modes) | |
|
strong |
Type-safe enumeration for framebuffer plane counts.
Used internally to represent the number of color planes in a framebuffer. Different display modes require different numbers of planes:
| Enumerator | |
|---|---|
| One | Single plane (monochrome or packed multi-color) |
| Two | Dual plane (base + accent color) |
| Three | Triple plane (reserved for future use) |
|
constexprnoexcept |

|
inline |

|
inlineconstexpr |
Number of planes for single-plane displays (BW, Gray4, Spectra6)
|
inlineconstexpr |
Number of planes for triple-plane displays (reserved for future modes)
|
inlineconstexpr |
Number of planes for dual-plane displays (BWR, BWY)