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

How a side of width CSS px splits into bands for style: an outer band, a transparent gap, and an inner band, summing to width. More...

#include <border_style.hpp>

Public Attributes

float outer = 0.0f
float gap = 0.0f
float inner = 0.0f

Detailed Description

How a side of width CSS px splits into bands for style: an outer band, a transparent gap, and an inner band, summing to width.

A single-band style puts the whole width in outer. groove / ridge split in half, the top and left sides taking the odd pixel on the outside; double draws two lines a third of the width each, rounded, with the rest as the gap. Below 2px a groove or ridge, and below 3px a double border, is one solid band.

Member Data Documentation

◆ gap

float pulp::view::BorderBands::gap = 0.0f

◆ inner

float pulp::view::BorderBands::inner = 0.0f

◆ outer

float pulp::view::BorderBands::outer = 0.0f

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