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.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
epaper::ShapeStyleSpec Struct Reference

#include <styles.hpp>

Public Member Functions

constexpr ShapeStyleSpec (Color c, DotPixel w=DotPixel::Pixel1x1, DrawFill f=DrawFill::Empty) noexcept
 Construct a shape style with specified parameters.
 

Public Attributes

Color color
 Shape color.
 
DotPixel border_width
 Border width.
 
DrawFill fill
 Fill mode (empty/full)
 

Constructor & Destructor Documentation

◆ ShapeStyleSpec()

constexpr epaper::ShapeStyleSpec::ShapeStyleSpec ( Color  c,
DotPixel  w = DotPixel::Pixel1x1,
DrawFill  f = DrawFill::Empty 
)
inlineconstexprnoexcept

Construct a shape style with specified parameters.

Parameters
cShape color
wBorder width (default: 1x1)
fFill mode (default: Empty)

Member Data Documentation

◆ border_width

DotPixel epaper::ShapeStyleSpec::border_width

◆ color

Color epaper::ShapeStyleSpec::color

◆ fill

DrawFill epaper::ShapeStyleSpec::fill

Fill mode (empty/full)

Examples
/mnt/nas/libepaper/include/epaper/draw/styles.hpp.

The documentation for this struct was generated from the following file: