Porytiles
Loading...
Searching...
No Matches
color_position.hpp File Reference
#include <cstddef>
#include <variant>
#include "porytiles/domain/models/rgba32.hpp"
Include dependency graph for color_position.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  porytiles::UndeterminedPosition
 Position state for a color that has not yet been assigned a palette slot. More...
 
struct  porytiles::AbsolutePosition
 Position state for a color assigned to a specific palette slot. More...
 
struct  porytiles::IndirectPosition
 Position state for a color whose slot is determined by another color in another palette. More...
 
struct  porytiles::IndirectLink
 Instruction linking a source color to a reference color in another palette. More...
 

Namespaces

namespace  porytiles
 

Typedefs

using porytiles::ColorPosition = std::variant< UndeterminedPosition, AbsolutePosition, IndirectPosition >
 The position state of a color during palette construction.