|
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.
|
#include <builders.hpp>
Public Member Functions | |
| CircleBuilder () noexcept=default | |
| Default constructor creates a builder with default values. | |
| auto | center (Point pt) noexcept -> CircleBuilder & |
| Set the center point of the circle. | |
| auto | center (std::size_t x, std::size_t y) noexcept -> CircleBuilder & |
| Set the center point using coordinates. | |
| auto | radius (std::size_t r) noexcept -> CircleBuilder & |
| Set the circle radius. | |
| auto | color (Color c) noexcept -> CircleBuilder & |
| Set the circle color. | |
| auto | border_width (DotPixel w) noexcept -> CircleBuilder & |
| Set the border width. | |
| auto | fill (DrawFill f) noexcept -> CircleBuilder & |
| Set the fill mode. | |
| auto | with_style (const ShapeStyleSpec &shape_style) noexcept -> CircleBuilder & |
| Apply a reusable shape style. | |
| auto | build () const noexcept -> CircleCommand |
| Build the final CircleCommand. | |
|
defaultnoexcept |
Default constructor creates a builder with default values.
|
inlinenoexcept |
Set the border width.
| w | Border width |
|
inlinenoexcept |
Build the final CircleCommand.
|
inlinenoexcept |
Set the center point of the circle.
| pt | Center point |
|
inlinenoexcept |
Set the center point using coordinates.
| x | Center X coordinate |
| y | Center Y coordinate |
|
inlinenoexcept |
Set the circle color.
| c | Circle color |
|
inlinenoexcept |
Set the fill mode.
| f | Fill mode (Empty or Full) |
|
inlinenoexcept |
Set the circle radius.
| r | Radius in pixels |
|
inlinenoexcept |
Apply a reusable shape style.
| shape_style | Style specification to apply |