Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::PssScalarValue Struct Reference

Allocation-free declaration scalar; its owning occurrence property identifies the active field. More...

#include <pss_data.hpp>

Inheritance diagram for portals::PssScalarValue:
portals::PssScalarValueportals::PssScalarValue portals::detail::PssValue

Public Member Functions

constexpr bool operator== (const PssScalarValue &other) const =default

Public Attributes

RgbColor color
 FOREGROUND or BACKGROUND RGB; otherwise zero.
bool boolean {}
 BOLD, ITALIC, or UNDERLINE flag, including explicit false.
std::int32_t width {}
 Cell bound/extent, or bit-preserved unsigned weight for a FLEX axis.
std::int32_t pattern {}
 Property-tagged glyph/preset ordinal or StyleSizeMode; otherwise zero.

Detailed Description

Allocation-free declaration scalar; its owning occurrence property identifies the active field.

Member Function Documentation

◆ operator==()

bool portals::PssScalarValue::operator== ( const PssScalarValue & other) const
constexprdefault
Parameters
otherScalar payload to compare.
Returns
Whether all fixed scalar fields agree.

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