65using ColorPosition = std::variant<UndeterminedPosition, AbsolutePosition, IndirectPosition>;
Represents a 32-bit RGBA color.
std::variant< UndeterminedPosition, AbsolutePosition, IndirectPosition > ColorPosition
The position state of a color during palette construction.
Position state for a color assigned to a specific palette slot.
Instruction linking a source color to a reference color in another palette.
std::size_t ref_pal
The palette index containing the reference color.
std::size_t source_pal
The palette index containing the color to be linked.
std::size_t source_group_index
The shape group index that generated this link (for diagnostic tracing).
Rgba32 source_color
The color in source_pal that should follow the reference.
Rgba32 ref_color
The color in ref_pal whose slot position should be followed.
Position state for a color whose slot is determined by another color in another palette.
std::size_t ref_pal_index
std::size_t source_group_index
Position state for a color that has not yet been assigned a palette slot.