ggplotd.color.conv

This module implements various _color type conversions.

Members

Functions

colorFromString
Color colorFromString(const(C)[] hex)

Create a color from hex strings in the standard forms: (#/$/0x)rgb/argb/rrggbb/aarrggbb

convertColor
To convertColor(From color)

Convert between color types.

convertNormInt
To convertNormInt(From i)
Undocumented in source. Be warned that the author may not have intended to support it.
convertPixelType
To convertPixelType(From v)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

ConversionPath
template ConversionPath(From, To)
Undocumented in source.
FloatTypeFor
template FloatTypeFor(IntType, RequestedFloat = float)
Undocumented in source.
WorkingType
template WorkingType(From, To)
Undocumented in source.

Meta

Authors

Manu Evans