psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::Interpolation< Length > Struct Reference

#include <Interpolation.hpp>

Static Public Member Functions

static Channels channels (Length length)
static Length value (const Channels &channels, Length target)
static std::optional< Length > target (Length from, Length to)

Static Public Attributes

static constexpr std::size_t count = 1

Detailed Description

Lengths of the same unit, zero being zero in any unit (50% to 0 px ends at 0%, 0 px to 50% starts at 0%); Auto, or another unit, doesn't interpolate


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