|
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.
|
Command for drawing a point (pixel or multi-pixel dot). More...
#include <commands.hpp>

Public Member Functions | |
| constexpr | PointCommand (Point pos, Color c=Color::Black, DotPixel s=DotPixel::Pixel1x1) noexcept |
| Construct a point command with specified parameters. | |
Public Attributes | |
| Point | position |
| Point position. | |
| Color | color |
| Point color. | |
| DotPixel | pixel_size |
| Point size. | |
Command for drawing a point (pixel or multi-pixel dot).
Encapsulates all parameters needed to draw a point. Constructed via PointBuilder.
Member Semantics:
position: Point location in logical coordinatescolor: Pixel colorpixel_size: Size of the "dot" (Pixel1x1 to Pixel8x8)Pixel Size Rendering:
positionposition (4 pixels total)position (9 pixels total)Centering Behavior:
|
inlineconstexprnoexcept |