caLib_abstract.palette

This module defines the notion of a $(PALETTE). $(PALETTE)s abstract the process of determining how to render the cells in a $(LATTICE) by the $(RENDERER), Allowing for more customization.

It provides templates for testing whether a given object is a $(PALETTE), and what kind of $(PALETTE) it is.

$(CALIB_ABSTRACT_DESC)

Members

Enums

isColorPalette
eponymoustemplate isColorPalette(T, Ct)

Convinience template, same as isPalette but Dv is set to be of type Color.

Structs

ColorPalette
struct ColorPalette(Ct)

Example of a ColorPalette

Palette
struct Palette(Ct, Dv)

Example of a Palette

Templates

isAnyColorPalette
template isAnyColorPalette(T)

$(IS_ANY ColorPalette)

isAnyPalette
template isAnyPalette(T)

$(IS_ANY Palette)

isPalette
template isPalette(T, Ct, Dv)

Tests if something is a Palette.

Meta