Porytiles
Loading...
Searching...
No Matches
color_set.cpp File Reference
Include dependency graph for color_set.cpp:

Go to the source code of this file.

Namespaces

namespace  porytiles
 

Functions

ColorSet porytiles::color_set_union (const ColorSet &a, const ColorSet &b)
 Computes the union of two ColorSets.
 
ColorSet porytiles::color_set_intersection (const ColorSet &a, const ColorSet &b)
 Computes the intersection of two ColorSets.
 
std::size_t porytiles::color_set_count (const ColorSet &set)
 Counts the number of colors in a ColorSet.
 
bool porytiles::is_subset (const ColorSet &a, const ColorSet &b)
 Checks if one ColorSet is a subset of another.
 
std::size_t porytiles::intersection_size (const ColorSet &a, const ColorSet &b)
 Computes the intersection size between two ColorSets.
 
std::size_t porytiles::union_size (const ColorSet &a, const ColorSet &b)
 Computes the union size of two ColorSets.