Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::IRBoxShadow Struct Reference

A single CSS box-shadow layer. More...

#include <design_ir.hpp>

Public Attributes

float offset_x = 0.0f
float offset_y = 0.0f
float blur = 0.0f
float spread = 0.0f
std::string color
 raw CSS color token ("#rrggbbaa" or "rgba(...)")
bool inset = false
std::string raw
 original layer text, for lossless round-trip

Detailed Description

A single CSS box-shadow layer.

CSS box-shadow is a comma-separated list of these layers (painted first-to-last, so the first sits on top); IRStyle::box_shadow keeps them in author order; collapsing the declaration into one opaque string would drop every layer past the first, losing the multi-shadow stack.

Member Data Documentation

◆ blur

float pulp::view::IRBoxShadow::blur = 0.0f

◆ color

std::string pulp::view::IRBoxShadow::color

raw CSS color token ("#rrggbbaa" or "rgba(...)")

◆ inset

bool pulp::view::IRBoxShadow::inset = false

◆ offset_x

float pulp::view::IRBoxShadow::offset_x = 0.0f

◆ offset_y

float pulp::view::IRBoxShadow::offset_y = 0.0f

◆ raw

std::string pulp::view::IRBoxShadow::raw

original layer text, for lossless round-trip

◆ spread

float pulp::view::IRBoxShadow::spread = 0.0f

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/design_ir.hpp