Classes | Typedefs | Enumerations | Enumerator | Functions | Variables
clanDisplay 2D

## Classes
class | clan::Color
| Color description class. More...
class | clan::Colorf
| Floating point color description class (for float). More...
class | clan::ColorHSLx< Type, ColorType >
| Color HSL description class. More...
class | clan::ColorHSVx< Type, ColorType >
| Color HSV description class. More...
class | clan::CursorDescription
| This class contains everything to construct a cursor - its data, default settings etc. More...
class | clan::CursorDescriptionFrame
| This class describes a single frame in a cursor description. More...
class | clan::Gradient
| Colorgradient description class. More...
struct | clan::SpanLayout::HitTestResult
class | clan::Image
| Image class. More...
class | clan::SpanLayout
| Span layout class. More...
class | clan::Sprite
| Sprite class. More...
class | clan::Subtexture
| Sub-texture description. More...
class | clan::TextureGroup
| Texture grouping class. More...

## Typedefs
typedef ColorHSLx< double, Colorf > | clan::ColorHSLd
typedef ColorHSLx< float, Colorf > | clan::ColorHSLf
typedef ColorHSLx< int, Color > | clan::ColorHSLi
typedef ColorHSVx< double, Colorf > | clan::ColorHSVd
typedef ColorHSVx< float, Colorf > | clan::ColorHSVf
typedef ColorHSVx< int, Color > | clan::ColorHSVi

## Enumerations
enum | clan::SpanAlign { clan::span_left, clan::span_right, clan::span_center, clan::span_justify }
| Span Align. More...
enum | clan::SpanLayout::HitTestResult::Type { clan::SpanLayout::HitTestResult::no_objects_available, clan::SpanLayout::HitTestResult::outside_top, clan::SpanLayout::HitTestResult::outside_left, clan::SpanLayout::HitTestResult::outside_right, clan::SpanLayout::HitTestResult::outside_bottom, clan::SpanLayout::HitTestResult::inside }

## Functions
| clan::CursorDescriptionFrame::CursorDescriptionFrame (PixelBuffer pixelbuffer, Rect rect)
| Constructs a CursorDescriptionFrame. More...
| clan::SpanLayout::HitTestResult::HitTestResult ()

## Variables
double | clan::CursorDescriptionFrame::delay
int | clan::SpanLayout::HitTestResult::object_id
int | clan::SpanLayout::HitTestResult::offset
PixelBuffer | clan::CursorDescriptionFrame::pixelbuffer
Rect | clan::CursorDescriptionFrame::rect
enum clan::SpanLayout::HitTestResult::Type | clan::SpanLayout::HitTestResult::type

## Construction
| clan::Color::Color ()
| Constructs a color. More...
| clan::Color::Color (const Colorf &)
| clan::Color::Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
| Constructs a color. More...
| clan::Color::Color (const std::string &hexstr)
| Constructs a color. More...

## Attributes
unsigned char | clan::Color::get_alpha () const
| Returns the alpha color component, in the range 0-255. More...
unsigned char | clan::Color::get_red () const
| Returns the red color component, in the range 0-255. More...
unsigned char | clan::Color::get_green () const
| Returns the green color component, in the range 0-255. More...
unsigned char | clan::Color::get_blue () const
| Returns the blue color component, in the range 0-255. More...
float | clan::Color::get_alpha_f () const
| Returns the alpha color component, in the range 0-1. More...
float | clan::Color::get_red_f () const
| Returns the red color component, in the range 0-1. More...
float | clan::Color::get_green_f () const
| Returns the green color component, in the range 0-1. More...
float | clan::Color::get_blue_f () const
| Returns the blue color component, in the range 0-1. More...
unsigned int | clan::Color::get_argb8 () const
| Returns the color in ARGB8888 format. More...
unsigned int | clan::Color::get_abgr8 () const
| Returns the color in ABGR8888 format. More...
unsigned int | clan::Color::get_rgba8 () const
| Returns the color in RGBA8888 format. More...
unsigned int | clan::Color::get_bgra8 () const
| Returns the color in BGRA8888 format. More...
bool | clan::Color::operator== (const Color &c) const
| Color == Color operator (deep compare) More...
bool | clan::Color::operator!= (const Color &c) const
| Color != Color operator (deep compare) More...

## Statics
static Color | clan::Color::aliceblue
static Color | clan::Color::antiquewhite
static Color | clan::Color::aqua
static Color | clan::Color::aquamarine
static Color | clan::Color::azure
static Color | clan::Color::beige
static Color | clan::Color::bisque
static Color | clan::Color::black
static Color | clan::Color::blanchedalmond
static Color | clan::Color::blue
static Color | clan::Color::blueviolet
static Color | clan::Color::brown
static Color | clan::Color::burlywood
static Color | clan::Color::cadetblue
static Color | clan::Color::chartreuse
static Color | clan::Color::chocolate
static Color | clan::Color::coral
static Color | clan::Color::cornflowerblue
static Color | clan::Color::cornsilk
static Color | clan::Color::crimson
static Color | clan::Color::cyan
static Color | clan::Color::darkblue
static Color | clan::Color::darkcyan
static Color | clan::Color::darkgoldenrod
static Color | clan::Color::darkgray
static Color | clan::Color::darkgreen
static Color | clan::Color::darkgrey
static Color | clan::Color::darkkhaki
static Color | clan::Color::darkmagenta
static Color | clan::Color::darkolivegreen
static Color | clan::Color::darkorange
static Color | clan::Color::darkorchid
static Color | clan::Color::darkred
static Color | clan::Color::darksalmon
static Color | clan::Color::darkseagreen
static Color | clan::Color::darkslateblue
static Color | clan::Color::darkslategray
static Color | clan::Color::darkslategrey
static Color | clan::Color::darkturquoise
static Color | clan::Color::darkviolet
static Color | clan::Color::deeppink
static Color | clan::Color::deepskyblue
static Color | clan::Color::dimgray
static Color | clan::Color::dimgrey
static Color | clan::Color::dodgerblue
static Color | clan::Color::firebrick
static Color | clan::Color::floralwhite
static Color | clan::Color::forestgreen
static Color | clan::Color::fuchsia
static Color | clan::Color::gainsboro
static Color | clan::Color::ghostwhite
static Color | clan::Color::gold
static Color | clan::Color::goldenrod
static Color | clan::Color::gray
static Color | clan::Color::grey
static Color | clan::Color::green
static Color | clan::Color::greenyellow
static Color | clan::Color::honeydew
static Color | clan::Color::hotpink
static Color | clan::Color::indianred
static Color | clan::Color::indigo
static Color | clan::Color::ivory
static Color | clan::Color::khaki
static Color | clan::Color::lavender
static Color | clan::Color::lavenderblush
static Color | clan::Color::lawngreen
static Color | clan::Color::lemonchiffon
static Color | clan::Color::lightblue
static Color | clan::Color::lightcoral
static Color | clan::Color::lightcyan
static Color | clan::Color::lightgoldenrodyellow
static Color | clan::Color::lightgray
static Color | clan::Color::lightgreen
static Color | clan::Color::lightgrey
static Color | clan::Color::lightpink
static Color | clan::Color::lightsalmon
static Color | clan::Color::lightseagreen
static Color | clan::Color::lightskyblue
static Color | clan::Color::lightslategray
static Color | clan::Color::lightslategrey
static Color | clan::Color::lightsteelblue
static Color | clan::Color::lightyellow
static Color | clan::Color::lime
static Color | clan::Color::limegreen
static Color | clan::Color::linen
static Color | clan::Color::magenta
static Color | clan::Color::maroon
static Color | clan::Color::mediumaquamarine
static Color | clan::Color::mediumblue
static Color | clan::Color::mediumorchid
static Color | clan::Color::mediumpurple
static Color | clan::Color::mediumseagreen
static Color | clan::Color::mediumslateblue
static Color | clan::Color::mediumspringgreen
static Color | clan::Color::mediumturquoise
static Color | clan::Color::mediumvioletred
static Color | clan::Color::midnightblue
static Color | clan::Color::mintcream
static Color | clan::Color::mistyrose
static Color | clan::Color::moccasin
static Color | clan::Color::navajowhite
static Color | clan::Color::navy
static Color | clan::Color::oldlace
static Color | clan::Color::olive
static Color | clan::Color::olivedrab
static Color | clan::Color::orange
static Color | clan::Color::orangered
static Color | clan::Color::orchid
static Color | clan::Color::palegoldenrod
static Color | clan::Color::palegreen
static Color | clan::Color::paleturquoise
static Color | clan::Color::palevioletred
static Color | clan::Color::papayawhip
static Color | clan::Color::peachpuff
static Color | clan::Color::peru
static Color | clan::Color::pink
static Color | clan::Color::plum
static Color | clan::Color::powderblue
static Color | clan::Color::purple
static Color | clan::Color::red
static Color | clan::Color::rosybrown
static Color | clan::Color::royalblue
static Color | clan::Color::saddlebrown
static Color | clan::Color::salmon
static Color | clan::Color::sandybrown
static Color | clan::Color::seagreen
static Color | clan::Color::seashell
static Color | clan::Color::sienna
static Color | clan::Color::silver
static Color | clan::Color::skyblue
static Color | clan::Color::slateblue
static Color | clan::Color::slategray
static Color | clan::Color::slategrey
static Color | clan::Color::snow
static Color | clan::Color::springgreen
static Color | clan::Color::steelblue
static Color | clan::Color::tan
static Color | clan::Color::teal
static Color | clan::Color::thistle
static Color | clan::Color::tomato
static Color | clan::Color::turquoise
static Color | clan::Color::violet
static Color | clan::Color::wheat
static Color | clan::Color::white
static Color | clan::Color::whitesmoke
static Color | clan::Color::yellow
static Color | clan::Color::yellowgreen
static Color | clan::Color::transparent
| rgba(0, 0, 0, 0). More...
static Color | clan::Color::gray10
static Color | clan::Color::gray20
static Color | clan::Color::gray30
static Color | clan::Color::gray40
static Color | clan::Color::gray50
static Color | clan::Color::gray60
static Color | clan::Color::gray70
static Color | clan::Color::gray80
static Color | clan::Color::gray90
static Color | clan::Color::find_color (const std::string &name)
| Find and returns the static color matching a string. More...
static std::vector< std::string > & | clan::Color::get_names ()
| Returns the names of static colors defined. More...

## Operations
void | clan::Color::set_alpha (unsigned char value)
| Set alpha color component, in the range 0-255. More...
void | clan::Color::set_red (unsigned char value)
| Set red color component, in the range 0-255. More...
void | clan::Color::set_green (unsigned char value)
| Set green color component, in the range 0-255. More...
void | clan::Color::set_blue (unsigned char value)
| Set blue color component, in the range 0-255. More...
void | clan::Color::set_alpha_f (float value)
| Set alpha color component, in the range 0-1. More...
void | clan::Color::set_red_f (float value)
| Set red color component, in the range 0-1. More...
void | clan::Color::set_green_f (float value)
| Set green color component, in the range 0-1. More...
void | clan::Color::set_blue_f (float value)
| Set blue color component, in the range 0-1. More...
void | clan::Color::set_color (unsigned char new_red, unsigned char new_green, unsigned char new_blue, unsigned char new_alpha=255)
| Set color based on rgba color components in the range 0-255. More...
void | clan::Color::set_rgba8 (unsigned int color)
| Set color based on rgba color components. More...
void | clan::Color::set_bgra8 (unsigned int color)
| Set color based on rgba color components. More...
void | clan::Color::set_rgb8 (unsigned int color)
| Set color based on rgb color components. Alpha is set to 255. More...
void | clan::Color::set_argb8 (unsigned int color)
| Set color based on argb color components. More...
void | clan::Color::set_colorf (float new_red, float new_green, float new_blue, float new_alpha=1.0f)
| Set color based on rgba color components in the range 0-1. More...

## Construction
| clan::Colorf::Colorf ()
| Constructs a color. More...
| clan::Colorf::Colorf (float r, float g, float b, float a=1.0f)
| Constructs a color. More...
| clan::Colorf::Colorf (const float *array_rgba)
| Constructs a color. More...
| clan::Colorf::Colorf (const Vec4f &color)
| Constructs a color. More...
| clan::Colorf::Colorf (unsigned char r, unsigned char g, unsigned char b, unsigned char a=255)
| Constructs a color. More...
| clan::Colorf::Colorf (int r, int g, int b, int a=255)
| Constructs a color. More...
| clan::Colorf::Colorf (const Color &color)
| clan::Colorf::Colorf (const std::string &hexstr)
| Constructs a color. More...

## Attributes
float | clan::Colorf::get_red () const
| Get Red. More...
float | clan::Colorf::get_green () const
| Get Green. More...
float | clan::Colorf::get_blue () const
| Get Blue. More...
float | clan::Colorf::get_alpha () const
| Get Alpha. More...

## Operations
void | clan::Colorf::normalize ()
| Normalize the color by ensuring that all color values lie inbetween (0.0, 1.0) More...
void | clan::Colorf::set_alpha (float value)
| Set alpha color component, in the range 0-1. More...
void | clan::Colorf::set_red (float value)
| Set red color component, in the range 0-1. More...
void | clan::Colorf::set_green (float value)
| Set green color component, in the range 0-1. More...
void | clan::Colorf::set_blue (float value)
| Set blue color component, in the range 0-1. More...
bool | clan::Colorf::operator== (const Colorf &c) const
| Color == Color operator (deep compare) More...
bool | clan::Colorf::operator!= (const Colorf &c) const
| Color != Color operator (deep compare) More...
| clan::Colorf::operator Color () const
| Type conversion operator. More...

## Statics
static Colorf | clan::Colorf::aliceblue
static Colorf | clan::Colorf::antiquewhite
static Colorf | clan::Colorf::aqua
static Colorf | clan::Colorf::aquamarine
static Colorf | clan::Colorf::azure
static Colorf | clan::Colorf::beige
static Colorf | clan::Colorf::bisque
static Colorf | clan::Colorf::black
static Colorf | clan::Colorf::blanchedalmond
static Colorf | clan::Colorf::blue
static Colorf | clan::Colorf::blueviolet
static Colorf | clan::Colorf::brown
static Colorf | clan::Colorf::burlywood
static Colorf | clan::Colorf::cadetblue
static Colorf | clan::Colorf::chartreuse
static Colorf | clan::Colorf::chocolate
static Colorf | clan::Colorf::coral
static Colorf | clan::Colorf::cornflowerblue
static Colorf | clan::Colorf::cornsilk
static Colorf | clan::Colorf::crimson
static Colorf | clan::Colorf::cyan
static Colorf | clan::Colorf::darkblue
static Colorf | clan::Colorf::darkcyan
static Colorf | clan::Colorf::darkgoldenrod
static Colorf | clan::Colorf::darkgray
static Colorf | clan::Colorf::darkgreen
static Colorf | clan::Colorf::darkgrey
static Colorf | clan::Colorf::darkkhaki
static Colorf | clan::Colorf::darkmagenta
static Colorf | clan::Colorf::darkolivegreen
static Colorf | clan::Colorf::darkorange
static Colorf | clan::Colorf::darkorchid
static Colorf | clan::Colorf::darkred
static Colorf | clan::Colorf::darksalmon
static Colorf | clan::Colorf::darkseagreen
static Colorf | clan::Colorf::darkslateblue
static Colorf | clan::Colorf::darkslategray
static Colorf | clan::Colorf::darkslategrey
static Colorf | clan::Colorf::darkturquoise
static Colorf | clan::Colorf::darkviolet
static Colorf | clan::Colorf::deeppink
static Colorf | clan::Colorf::deepskyblue
static Colorf | clan::Colorf::dimgray
static Colorf | clan::Colorf::dimgrey
static Colorf | clan::Colorf::dodgerblue
static Colorf | clan::Colorf::firebrick
static Colorf | clan::Colorf::floralwhite
static Colorf | clan::Colorf::forestgreen
static Colorf | clan::Colorf::fuchsia
static Colorf | clan::Colorf::gainsboro
static Colorf | clan::Colorf::ghostwhite
static Colorf | clan::Colorf::gold
static Colorf | clan::Colorf::goldenrod
static Colorf | clan::Colorf::gray
static Colorf | clan::Colorf::grey
static Colorf | clan::Colorf::green
static Colorf | clan::Colorf::greenyellow
static Colorf | clan::Colorf::honeydew
static Colorf | clan::Colorf::hotpink
static Colorf | clan::Colorf::indianred
static Colorf | clan::Colorf::indigo
static Colorf | clan::Colorf::ivory
static Colorf | clan::Colorf::khaki
static Colorf | clan::Colorf::lavender
static Colorf | clan::Colorf::lavenderblush
static Colorf | clan::Colorf::lawngreen
static Colorf | clan::Colorf::lemonchiffon
static Colorf | clan::Colorf::lightblue
static Colorf | clan::Colorf::lightcoral
static Colorf | clan::Colorf::lightcyan
static Colorf | clan::Colorf::lightgoldenrodyellow
static Colorf | clan::Colorf::lightgray
static Colorf | clan::Colorf::lightgreen
static Colorf | clan::Colorf::lightgrey
static Colorf | clan::Colorf::lightpink
static Colorf | clan::Colorf::lightsalmon
static Colorf | clan::Colorf::lightseagreen
static Colorf | clan::Colorf::lightskyblue
static Colorf | clan::Colorf::lightslategray
static Colorf | clan::Colorf::lightslategrey
static Colorf | clan::Colorf::lightsteelblue
static Colorf | clan::Colorf::lightyellow
static Colorf | clan::Colorf::lime
static Colorf | clan::Colorf::limegreen
static Colorf | clan::Colorf::linen
static Colorf | clan::Colorf::magenta
static Colorf | clan::Colorf::maroon
static Colorf | clan::Colorf::mediumaquamarine
static Colorf | clan::Colorf::mediumblue
static Colorf | clan::Colorf::mediumorchid
static Colorf | clan::Colorf::mediumpurple
static Colorf | clan::Colorf::mediumseagreen
static Colorf | clan::Colorf::mediumslateblue
static Colorf | clan::Colorf::mediumspringgreen
static Colorf | clan::Colorf::mediumturquoise
static Colorf | clan::Colorf::mediumvioletred
static Colorf | clan::Colorf::midnightblue
static Colorf | clan::Colorf::mintcream
static Colorf | clan::Colorf::mistyrose
static Colorf | clan::Colorf::moccasin
static Colorf | clan::Colorf::navajowhite
static Colorf | clan::Colorf::navy
static Colorf | clan::Colorf::oldlace
static Colorf | clan::Colorf::olive
static Colorf | clan::Colorf::olivedrab
static Colorf | clan::Colorf::orange
static Colorf | clan::Colorf::orangered
static Colorf | clan::Colorf::orchid
static Colorf | clan::Colorf::palegoldenrod
static Colorf | clan::Colorf::palegreen
static Colorf | clan::Colorf::paleturquoise
static Colorf | clan::Colorf::palevioletred
static Colorf | clan::Colorf::papayawhip
static Colorf | clan::Colorf::peachpuff
static Colorf | clan::Colorf::peru
static Colorf | clan::Colorf::pink
static Colorf | clan::Colorf::plum
static Colorf | clan::Colorf::powderblue
static Colorf | clan::Colorf::purple
static Colorf | clan::Colorf::red
static Colorf | clan::Colorf::rosybrown
static Colorf | clan::Colorf::royalblue
static Colorf | clan::Colorf::saddlebrown
static Colorf | clan::Colorf::salmon
static Colorf | clan::Colorf::sandybrown
static Colorf | clan::Colorf::seagreen
static Colorf | clan::Colorf::seashell
static Colorf | clan::Colorf::sienna
static Colorf | clan::Colorf::silver
static Colorf | clan::Colorf::skyblue
static Colorf | clan::Colorf::slateblue
static Colorf | clan::Colorf::slategray
static Colorf | clan::Colorf::slategrey
static Colorf | clan::Colorf::snow
static Colorf | clan::Colorf::springgreen
static Colorf | clan::Colorf::steelblue
static Colorf | clan::Colorf::tan
static Colorf | clan::Colorf::teal
static Colorf | clan::Colorf::thistle
static Colorf | clan::Colorf::tomato
static Colorf | clan::Colorf::turquoise
static Colorf | clan::Colorf::violet
static Colorf | clan::Colorf::wheat
static Colorf | clan::Colorf::white
static Colorf | clan::Colorf::whitesmoke
static Colorf | clan::Colorf::yellow
static Colorf | clan::Colorf::yellowgreen
static Colorf | clan::Colorf::transparent
| rgba(0, 0, 0, 0). More...
static Colorf | clan::Colorf::gray10
static Colorf | clan::Colorf::gray20
static Colorf | clan::Colorf::gray30
static Colorf | clan::Colorf::gray40
static Colorf | clan::Colorf::gray50
static Colorf | clan::Colorf::gray60
static Colorf | clan::Colorf::gray70
static Colorf | clan::Colorf::gray80
static Colorf | clan::Colorf::gray90

## Construction
| clan::ColorHSLx< Type, ColorType >::ColorHSLx ()
| Constructs a color. More...
| clan::ColorHSLx< Type, ColorType >::ColorHSLx (Type h, Type s, Type l, Type a)
| clan::ColorHSLx< Type, ColorType >::ColorHSLx (const ColorHSLx< Type, ColorType > &copy)
| clan::ColorHSLx< Type, ColorType >::ColorHSLx (const Color &color)
| clan::ColorHSLx< Type, ColorType >::ColorHSLx (const Colorf &color)

## Attributes
Type | clan::ColorHSLx< Type, ColorType >::h
Type | clan::ColorHSLx< Type, ColorType >::s
Type | clan::ColorHSLx< Type, ColorType >::l
Type | clan::ColorHSLx< Type, ColorType >::a

## Operators
| clan::ColorHSLx< Type, ColorType >::operator ColorType ()
ColorHSLx< Type, ColorType > & | clan::ColorHSLx< Type, ColorType >::operator= (const ColorHSLx< Type, ColorType > &copy)
| = operator. More...
bool | clan::ColorHSLx< Type, ColorType >::operator== (const ColorHSLx< Type, ColorType > &color) const
| == operator. More...
bool | clan::ColorHSLx< Type, ColorType >::operator!= (const ColorHSLx< Type, ColorType > &color) const
| != operator. More...

## Construction
| clan::ColorHSVx< Type, ColorType >::ColorHSVx ()
| Constructs a color. More...
| clan::ColorHSVx< Type, ColorType >::ColorHSVx (Type h, Type s, Type v, Type a)
| clan::ColorHSVx< Type, ColorType >::ColorHSVx (const ColorHSVx< Type, ColorType > &copy)
| clan::ColorHSVx< Type, ColorType >::ColorHSVx (const Color &color)
| clan::ColorHSVx< Type, ColorType >::ColorHSVx (const Colorf &color)

## Attributes
Type | clan::ColorHSVx< Type, ColorType >::h
Type | clan::ColorHSVx< Type, ColorType >::s
Type | clan::ColorHSVx< Type, ColorType >::v
Type | clan::ColorHSVx< Type, ColorType >::a

## Operators
| clan::ColorHSVx< Type, ColorType >::operator ColorType ()
ColorHSVx< Type, ColorType > & | clan::ColorHSVx< Type, ColorType >::operator= (const ColorHSVx< Type, ColorType > &copy)
| = operator. More...
bool | clan::ColorHSVx< Type, ColorType >::operator== (const ColorHSVx< Type, ColorType > &color) const
| == operator. More...
bool | clan::ColorHSVx< Type, ColorType >::operator!= (const ColorHSVx< Type, ColorType > &color) const
| != operator. More...

## Construction
| clan::Gradient::Gradient ()
| Constructs a color gradient. More...
| clan::Gradient::Gradient (const Colorf &top_left, const Colorf &top_right, const Colorf &bottom_left, const Colorf &bottom_right)
| Constructs a color gradient. More...
| clan::Gradient::Gradient (const Colorf &first_color, const Colorf &second_color)
| Constructs a Gradient. More...

## Attributes
Colorf | clan::Gradient::top_left
| Color of top left corner of gradient. More...
Colorf | clan::Gradient::top_right
| Color of top right corner of gradient. More...
Colorf | clan::Gradient::bottom_left
| Color of bottom left corner of gradient. More...
Colorf | clan::Gradient::bottom_right
| Color of bottom right corner of gradient. More...
bool | clan::Gradient::operator== (const Gradient &other) const
| Compares gradient to another one. More...
bool | clan::Gradient::operator!= (const Gradient &other) const
| Compares gradient to another one. More...

## Construction
| clan::Image::Image ()
| Constructs a null instance. More...
| clan::Image::Image (Texture2D texture, const Rect &rect)
| Constructs an image from a texture. More...
| clan::Image::Image (Subtexture &sub_texture)
| Constructs an image from a subtexture. More...
| clan::Image::Image (Canvas &canvas, const PixelBuffer &pixelbuffer, const Rect &rect)
| Constructs a Image from a pixelbuffer. More...
| clan::Image::Image (Canvas &canvas, const std::string &filename, const ImageImportDescription &import_desc=ImageImportDescription())
| Constructs a Image. More...
| clan::Image::Image (Canvas &canvas, const std::string &filename, const FileSystem &fs, const ImageImportDescription &import_desc=ImageImportDescription())
| Constructs a Image. More...
virtual | clan::Image::~Image ()

## Resources
static Resource< Image > | clan::Image::resource (Canvas &canvas, const std::string &id, const ResourceManager &resources)
| Retrieves a Sprite resource from the resource manager. More...
static Image | clan::Image::load (Canvas &canvas, const std::string &id, const XMLResourceDocument &doc)
| Loads a Sprite from a XML resource definition. More...

## Attributes
bool | clan::Image::is_null () const
| Returns true if this object is invalid. More...
void | clan::Image::throw_if_null () const
| Throw an exception if this object is invalid. More...
float | clan::Image::get_scale_x () const
| Returns x scale. More...
float | clan::Image::get_scale_y () const
| Returns y scale. More...
float | clan::Image::get_alpha () const
| Returns current alpha. More...
Colorf | clan::Image::get_color () const
| Returns current color. More...
void | clan::Image::get_alignment (Origin &origin, float &x, float &y) const
| Returns translation hot-spot. More...
Subtexture | clan::Image::get_texture () const
| Return the texture of the image. More...
Sizef | clan::Image::get_size () const
| Return the size of the image. More...
float | clan::Image::get_width () const
| Return the width of the image. More...
float | clan::Image::get_height () const
| Return the height of the image. More...

## Operators
bool | clan::Image::operator== (const Image &other) const
| Equality operator. More...
bool | clan::Image::operator!= (const Image &other) const
| Inequality operator. More...
bool | clan::Image::operator< (const Image &other) const
| Less than operator. More...

## Operations
Image | clan::Image::clone () const
| Copies all information from this image to another, excluding the graphics that remain shared. More...
void | clan::Image::draw (Canvas &canvas, float x, float y) const
| Draw image on graphic context. More...
void | clan::Image::draw (Canvas &canvas, const Rectf &src, const Rectf &dest) const
| Draw image on graphic context. More...
void | clan::Image::draw (Canvas &canvas, const Rectf &dest) const
| Draw image on graphic context. More...
void | clan::Image::draw (Canvas &canvas, const Rectf &src, const Quadf &dest) const
| Draw image on graphic context. More...
void | clan::Image::draw (Canvas &canvas, const Quadf &dest) const
| Draw image on graphic context. More...
void | clan::Image::set_scale (float x, float y)
| Set scale for x and y directions individually. More...
void | clan::Image::set_alpha (float alpha)
| Sets transparency. More...
void | clan::Image::set_color (const Colorf &color)
| Sets the color. More...
void | clan::Image::set_color (const Color &c)
| Set color. More...
void | clan::Image::set_alignment (Origin origin, float x=0, float y=0)
| Sets translation hotspot. More...
void | clan::Image::set_wrap_mode (TextureWrapMode wrap_s, TextureWrapMode wrap_t)
void | clan::Image::set_linear_filter (bool linear_filter=true)
| Set to true if a linear filter should be used for scaling up and down, false if a nearest-point filter should be used. More...

## Construction
| clan::SpanLayout::SpanLayout ()
| clan::SpanLayout::~SpanLayout ()

## Operations
void | clan::SpanLayout::clear ()
| Clear. More...
void | clan::SpanLayout::add_text (const std::string &text, const Font &font, const Colorf &color=Colorf::white, int id=-1)
| Add text. More...
void | clan::SpanLayout::add_image (const Image &image, int baseline_offset=0, int id=-1)
| Add image. More...
template<typename T >
void | clan::SpanLayout::add_component (T *component, int baseline_offset=0, int id=-1)
| Add component. More...
void | clan::SpanLayout::layout (Canvas &canvas, int max_width)
| Layout. More...
void | clan::SpanLayout::set_position (const Point &pos)
| Set position. More...
Size | clan::SpanLayout::get_size () const
| Get Size. More...
Rect | clan::SpanLayout::get_rect () const
| Get Rect. More...
std::vector< Rect > | clan::SpanLayout::get_rect_by_id (int id) const
| Get Rect By Id. More...
HitTestResult | clan::SpanLayout::hit_test (Canvas &canvas, const Point &pos)
| Hit test. More...
void | clan::SpanLayout::draw_layout (Canvas &canvas)
| Draw layout. More...
void | clan::SpanLayout::draw_layout_ellipsis (Canvas &canvas, const Rect &content_rect)
| Draw layout generating ellipsis for clipped text. More...
void | clan::SpanLayout::set_component_geometry ()
| Set component geometry. More...
Size | clan::SpanLayout::find_preferred_size (Canvas &canvas)
| Find preferred size. More...
void | clan::SpanLayout::set_selection_range (std::string::size_type start, std::string::size_type end)
| Set selection range. More...
void | clan::SpanLayout::set_selection_colors (const Colorf &foreground, const Colorf &background)
| Set selection colors. More...
void | clan::SpanLayout::show_cursor ()
| Shows the cursor caret. More...
void | clan::SpanLayout::hide_cursor ()
| Hides the cursor caret. More...
void | clan::SpanLayout::set_cursor_pos (std::string::size_type pos)
| Sets the cursor position. More...
void | clan::SpanLayout::set_cursor_overwrite_mode (bool enable)
| Toggles whether the cursor caret is shown as a solid box or a line. More...
void | clan::SpanLayout::set_cursor_color (const Colorf &color)
| Sets the cursor color. More...
std::string | clan::SpanLayout::get_combined_text () const
| Get Combined text. More...
void | clan::SpanLayout::set_align (SpanAlign align)
| Sets the text alignment. More...
int | clan::SpanLayout::get_first_baseline_offset ()
| Returns the baseline offset for the first baseline. More...
int | clan::SpanLayout::get_last_baseline_offset ()
| Returns the baseline offset for the last baseline. More...

## Enums
enum | clan::Sprite::ShowOnFinish { clan::Sprite::show_blank, clan::Sprite::show_last_frame, clan::Sprite::show_first_frame }

## Construction
| clan::Sprite::Sprite ()
| Constructs a null instance. More...
| clan::Sprite::Sprite (Canvas &canvas, const std::string &fullname, const ImageImportDescription &import_desc=ImageImportDescription())
| Constructs a Sprite. More...
| clan::Sprite::Sprite (Canvas &canvas, const std::string &filename, const FileSystem &file_system, const ImageImportDescription &import_desc=ImageImportDescription())
| Constructs a Sprite. More...
| clan::Sprite::Sprite (Canvas &canvas, IODevice &file, const std::string &image_type, const ImageImportDescription &import_desc=ImageImportDescription())
| Constructs a Sprite. More...
| clan::Sprite::Sprite (Canvas &canvas)
| Constructs an empty Sprite. More...
virtual | clan::Sprite::~Sprite ()

## Resources
static Resource< Sprite > | clan::Sprite::resource (Canvas &canvas, const std::string &id, const ResourceManager &resources)
| Retrieves a Sprite resource from the resource manager. More...
static Sprite | clan::Sprite::load (Canvas &canvas, const std::string &id, const XMLResourceDocument &doc)
| Loads a Sprite from a XML resource definition. More...

## Attributes
bool | clan::Sprite::is_null () const
| Returns true if this object is invalid. More...
void | clan::Sprite::throw_if_null () const
| Throw an exception if this object is invalid. More...
Angle | clan::Sprite::get_angle () const
| Returns current angle in degrees. More...
Angle | clan::Sprite::get_base_angle () const
| Returns the base angle in degrees - angle added to any rotation set with set_rotate() or rotate(). More...
void | clan::Sprite::get_scale (float &x, float &y) const
| Returns scale for x and y. More...
float | clan::Sprite::get_alpha () const
| Returns current alpha. More...
Colorf | clan::Sprite::get_color () const
| Returns current color. More...
bool | clan::Sprite::get_linear_filter () const
| Returns true if the sprite uses a linear filter for scaling up and down, false if a nearest-point filter is used. More...
void | clan::Sprite::get_alignment (Origin &origin, int &x, int &y) const
| Returns translation hot-spot. More...
void | clan::Sprite::get_rotation_hotspot (Origin &origin, int &x, int &y) const
| Returns rotation hot-spot. More...
int | clan::Sprite::get_current_frame () const
| Returns current frame in animation. 0 is first frame. More...
int | clan::Sprite::get_frame_count () const
| Returns number of frames in animation. More...
int | clan::Sprite::get_frame_delay (int frame) const
| Returns the delay of a frame. More...
Point | clan::Sprite::get_frame_offset (int frame) const
| Returns the translation offset of a frame. 0 is first frame. More...
Size | clan::Sprite::get_frame_size (int frame) const
| Returns the size of a frame. 0 is first frame. More...
Subtexture | clan::Sprite::get_frame_texture (int frame) const
| Return the texture of a frame. 0 is first frame. More...
int | clan::Sprite::get_width () const
| Return the width of the current frame, shortcut for 'get_frame_size(get_current_frame()).width'. More...
int | clan::Sprite::get_height () const
| Return the height of the current frame, shortcut for 'get_frame_size(get_current_frame()).height'. More...
Size | clan::Sprite::get_size () const
| Return the size of the current frame, shortcut for 'get_frame_size(get_current_frame())'. More...
int | clan::Sprite::get_id () const
| Returns the attached id (if exists). More...
bool | clan::Sprite::is_play_loop () const
| Returns true if animation is played in loop (more than once). More...
bool | clan::Sprite::is_play_backward () const
| Returns true if animation is played in from right to left (starts at end). More...
bool | clan::Sprite::is_play_pingpong () const
| Returns true if animation is played in ping-pong mode. More...
ShowOnFinish | clan::Sprite::get_show_on_finish () const
| Returns an enum for what is shown when the animation is finished. More...
bool | clan::Sprite::is_finished () const
| Returns true if animation is finished. More...
bool | clan::Sprite::is_looping () const
| Returns true if animation has looped in the last update cycle. More...

## Operators
bool | clan::Sprite::operator== (const Sprite &other) const
| Equality operator. More...
bool | clan::Sprite::operator!= (const Sprite &other) const
| Inequality operator. More...
bool | clan::Sprite::operator< (const Sprite &other) const
| Less than operator. More...

## Operations
Sprite & | clan::Sprite::operator= (const Sprite &copy)
| Copy assignment operator. More...
void | clan::Sprite::set_image_data (const Sprite &image_source)
| Sets the image data from another sprite, sharing animation state. More...
Sprite | clan::Sprite::clone () const
| Copies all information from this sprite to another, excluding the graphics that remain shared. More...
void | clan::Sprite::draw (Canvas &canvas, float x, float y)
| Draw sprite on graphic context. More...
void | clan::Sprite::draw (Canvas &canvas, int x, int y)
void | clan::Sprite::draw (Canvas &canvas, const Rectf &src, const Rectf &dest)
void | clan::Sprite::draw (Canvas &canvas, const Rectf &dest)
void | clan::Sprite::update (int time_elapsed_ms)
| Call this function to update the animation. More...
void | clan::Sprite::set_angle (Angle angle)
| Set absolute rotation angle. More...
void | clan::Sprite::set_angle_pitch (Angle angle)
| Set absolute rotation pitch angle. More...
void | clan::Sprite::set_angle_yaw (Angle angle)
| Set absolute rotation yaw angle. More...
void | clan::Sprite::rotate (Angle angle)
| Add angle in degrees to current angle. More...
void | clan::Sprite::rotate_pitch (Angle angle)
| Add angle in degrees to current pitch angle. More...
void | clan::Sprite::rotate_yaw (Angle angle)
| Add angle in degrees to current yaw angle. More...
void | clan::Sprite::set_base_angle (Angle angle)
| Sets the base angle in degrees - angle added to any rotation set with set_rotate() or rotate(). More...
void | clan::Sprite::set_scale (float x, float y)
| Set scale for x and y directions individually. More...
void | clan::Sprite::set_alpha (float alpha)
| Sets transparency. More...
void | clan::Sprite::set_color (const Colorf &color)
| Sets the color. More...
void | clan::Sprite::set_color (const Color &c)
| Set color. More...
void | clan::Sprite::set_linear_filter (bool linear_filter=true)
| Set to true if a linear filter should be used for scaling up and down, false if a nearest-point filter should be used. More...
void | clan::Sprite::set_alignment (Origin origin, int x=0, int y=0)
| Sets translation hotspot. More...
void | clan::Sprite::set_rotation_hotspot (Origin origin, int x=0, int y=0)
| Sets rotation hotspot. More...
void | clan::Sprite::set_frame (unsigned int frame)
| Sets current animation frame. 0 is first frame. More...
void | clan::Sprite::set_delay (int delay_ms)
| Sets the delay for all frames. More...
void | clan::Sprite::set_frame_delay (int frame, int delay_ms)
| Sets the delay of a specific frame. More...
void | clan::Sprite::set_frame_offset (int frame, Point offset)
| Sets the translate offset of a specific frame. 0 is first frame. More...
void | clan::Sprite::set_id (int id)
| Sets an attached id. More...
void | clan::Sprite::finish ()
| Finish animation. More...
void | clan::Sprite::restart ()
| Restart animation. More...
void | clan::Sprite::set_play_loop (bool loop=true)
| Set to true if animation should loop, false otherwise. More...
void | clan::Sprite::set_play_pingpong (bool pingpong=true)
| Set to true if animation should loop, false otherwise. More...
void | clan::Sprite::set_play_backward (bool backward=true)
| Set to true if animation should go backward (start at end). More...
void | clan::Sprite::set_show_on_finish (Sprite::ShowOnFinish show_on_finish)
| Set what is shown when the animation is finished. More...
void | clan::Sprite::add_frame (const Texture2D &texture)
| Add frame. More...
void | clan::Sprite::add_frame (Canvas &canvas, const std::string &fullname, const ImageImportDescription &import_desc=ImageImportDescription())
| Add frame. More...
void | clan::Sprite::add_frame (Canvas &canvas, IODevice &file, const std::string &image_type, const ImageImportDescription &import_desc=ImageImportDescription())
| Add frame. More...
void | clan::Sprite::add_frame (Canvas &canvas, const std::string &filename, const FileSystem &file_system, const ImageImportDescription &import_desc=ImageImportDescription())
| Add frame. More...
void | clan::Sprite::add_frames (const Texture2D &texture, Rect *frames, int num_frames)
| Add frames. More...
void | clan::Sprite::add_frame (const Texture2D &texture, const Rect &frame)
| Add frame. More...
void | clan::Sprite::add_gridclipped_frames (Canvas &canvas, const Texture2D &texture, int xpos, int ypos, int width, int height, int xarray=1, int yarray=1, int array_skipframes=0, int xspacing=0, int yspacing=0)
| Adds images formed in a grid. More...
void | clan::Sprite::add_alphaclipped_frames (Canvas &canvas, const Texture2D &texture, int xpos=0, int ypos=0, float trans_limit=0.05f)
| Adds images separated with pure alpha (within trans_limit). More...
void | clan::Sprite::add_alphaclipped_frames_free (Canvas &canvas, const Texture2D &texture, int xpos=0, int ypos=0, float trans_limit=0.05f)
| Adds images separated with pure alpha (within trans_limit). More...

## Signals
Signal< void()> & | clan::Sprite::sig_animation_finished ()
| Sig animation finished. More...

## Implementation
class | clan::Sprite::FontFamily_Impl

## Construction
| clan::Subtexture::Subtexture ()
| Constructs a null instance. More...
| clan::Subtexture::Subtexture (Texture2D texture, const Rect &geometry)
| Constructs a Subtexture. More...
| clan::Subtexture::~Subtexture ()

## Attributes
bool | clan::Subtexture::is_null () const
| Returns true if this object is invalid. More...
void | clan::Subtexture::throw_if_null () const
| Throw an exception if this object is invalid. More...
Texture2D | clan::Subtexture::get_texture ()
| Returns the texture. More...
Rect | clan::Subtexture::get_geometry () const
| Returns the part of the texture used by this object. More...

## Enumerations
enum | clan::TextureGroup::TextureAllocationPolicy { clan::TextureGroup::create_new_texture, clan::TextureGroup::search_previous_textures }
| Texture allocation policy. More...

## Construction
| clan::TextureGroup::TextureGroup ()
| Constructs a null instance. More...
| clan::TextureGroup::TextureGroup (const Size &texture_sizes)
| Constructs a texture group. More...
| clan::TextureGroup::~TextureGroup ()

## Attributes
bool | clan::TextureGroup::is_null () const
| Returns true if this object is invalid. More...
void | clan::TextureGroup::throw_if_null () const
| Throw an exception if this object is invalid. More...
int | clan::TextureGroup::get_subtexture_count () const
| Returns the amount of sub-textures allocated in group. More...
int | clan::TextureGroup::get_subtexture_count (unsigned int texture_index) const
| Returns the amount of sub-textures for a specific texture index. More...
int | clan::TextureGroup::get_texture_count () const
| Returns the amount of textures used by group. More...
TextureAllocationPolicy | clan::TextureGroup::get_texture_allocation_policy () const
| Returns the texture allocation policy. More...
Size | clan::TextureGroup::get_texture_sizes () const
| Returns the size of the textures used by this texture group. More...
std::vector< Texture2D > | clan::TextureGroup::get_textures () const
| Returns the textures. More...

## Operations
Subtexture | clan::TextureGroup::add (GraphicContext &context, const Size &size)
| Allocate space for another sub texture. More...
void | clan::TextureGroup::remove (Subtexture &subtexture)
| Deallocate space, from a previously allocated texture. More...
void | clan::TextureGroup::set_texture_allocation_policy (TextureAllocationPolicy policy)
| Set the texture allocation policy. More...
void | clan::TextureGroup::insert_texture (Texture2D &texture, const Rect &texture_rect)
| Insert an existing texture into the texture group. More...

## Construction
| clan::CursorDescription::CursorDescription ()
| Constructs a cursor description. More...
| clan::CursorDescription::CursorDescription (const CursorDescription &copy)
| Constructs a CursorDescription. More...
| clan::CursorDescription::~CursorDescription ()
static CursorDescription | clan::CursorDescription::load (GraphicContext &gc, const std::string &resource_id, const XMLResourceDocument &doc, const ImageImportDescription &import_desc=ImageImportDescription())
| Loads a CursorDescription from a XML resource definition. More...

## Attributes
const std::vector< CursorDescriptionFrame > & | clan::CursorDescription::get_frames () const
| Returns a list over all available frames. More...
Point | clan::CursorDescription::get_hotspot () const
| the offset of where the cursor is drawn relative to cursor image More...
bool | clan::CursorDescription::operator== (const CursorDescription &that) const
bool | clan::CursorDescription::operator!= (const CursorDescription &that) const
bool | clan::CursorDescription::operator< (const CursorDescription &that) const
bool | clan::CursorDescription::operator> (const CursorDescription &that) const
bool | clan::CursorDescription::operator<= (const CursorDescription &that) const
bool | clan::CursorDescription::operator>= (const CursorDescription &that) const

## Operations
CursorDescription & | clan::CursorDescription::operator= (const CursorDescription &copy)
| Copy assignment operator. More...
void | clan::CursorDescription::add_frame (const PixelBuffer &pixelbuffer)
| Adds a single image. More...
void | clan::CursorDescription::add_frame (const std::string &fullname, const ImageImportDescription &import_desc=ImageImportDescription())
| Add frame. More...
void | clan::CursorDescription::add_frame (IODevice &file, const std::string &image_type, const ImageImportDescription &import_desc=ImageImportDescription())
| Add frame. More...
void | clan::CursorDescription::add_frame (const std::string &filename, FileSystem &fs, const ImageImportDescription &import_desc=ImageImportDescription())
| Add frame. More...
void | clan::CursorDescription::add_gridclipped_frames (const PixelBuffer &pixelbuffer, int xpos, int ypos, int width, int height, int xarray=1, int yarray=1, int array_skipframes=0, int xspacing=0, int yspacing=0)
| Adds images formed in a grid. More...
void | clan::CursorDescription::add_alphaclipped_frames (const PixelBuffer &pixelbuffer, int xpos=0, int ypos=0, float trans_limit=0.05f)
| Adds images separated with pure alpha (within trans_limit). More...
void | clan::CursorDescription::add_alphaclipped_frames_free (const PixelBuffer &pixelbuffer, int xpos=0, int ypos=0, float trans_limit=0.05f)
| Adds images separated with pure alpha (within trans_limit). More...
void | clan::CursorDescription::set_frame_delay (int frame, double delay)
| Sets the duration this frame is displayed, in seconds. More...
void | clan::CursorDescription::set_hotspot (const Point &hotspot)
| Sets the offset of where the cursor is drawn relative to the cursor image. More...

## Detailed Description

## Typedef Documentation

typedef ColorHSLx<double, Colorf> clan::ColorHSLd

typedef ColorHSLx<float, Colorf> clan::ColorHSLf

typedef ColorHSLx<int, Color> clan::ColorHSLi

typedef ColorHSVx<double, Colorf> clan::ColorHSVd

typedef ColorHSVx<float, Colorf> clan::ColorHSVf

typedef ColorHSVx<int, Color> clan::ColorHSVi

## Enumeration Type Documentation

enum clan::Sprite::ShowOnFinish

Enumerator
show_blank |
show_last_frame |
show_first_frame |

enum clan::SpanAlign

Span Align.

Enumerator
span_left |
span_right |
span_center |
span_justify |

enum clan::TextureGroup::TextureAllocationPolicy

Texture allocation policy.

Enumerator
create_new_texture |
search_previous_textures |

enum clan::SpanLayout::HitTestResult::Type

Enumerator
no_objects_available |
outside_top |
outside_left |
outside_right |
outside_bottom |
inside |

## Function Documentation

clan::Color::Color | ( |  | ) |
| inline

Constructs a color.

clan::Color::Color | ( | const Colorf & |  | ) |
| explicit

clan::Color::Color | ( | unsigned char | red,
|  | unsigned char | green,
|  | unsigned char | blue,
|  | unsigned char | alpha = `255`
| ) |  |
| inline

Constructs a color.

Color components are specified in the range 0 to 255.
An alpha value of 0 means complete transparency, while 255 means completely opaque (solid).

Parameters

  red | Red color component.
  green | Green color component.
  blue | Blue color component.
  alpha | Alpha (transparency) color component.

clan::Color::Color | ( | const std::string & | hexstr | ) |

Constructs a color.

Color components are specified in the range 0 to 255.
An alpha value of 0 means complete transparency, while 255 means completely opaque (solid).

Parameters

  hexstr | The colors rgba components as a hexadecimal string of the format "#rrggbbaa", where the '#' and "aa" parts are optional.

clan::Colorf::Colorf | ( |  | ) |
| inline

Constructs a color.

Referenced by clan::Colorf::Colorf().

clan::Colorf::Colorf | ( | float | r,
|  | float | g,
|  | float | b,
|  | float | a = `1.0f`
| ) |  |
| inline

Constructs a color.

Color components are specified in the range 0 to 1.
An alpha value of 0 means complete transparency, while 1 means completely opaque (solid).

Parameters

  r | = Red color component.
  g | = Green color component.
  b | = Blue color component.
  a | = Alpha (transparency) color component.

clan::Colorf::Colorf | ( | const float * | array_rgba | ) |
| inline

Constructs a color.

Color components are specified in the range 0 to 1.
An alpha value of 0 means complete transparency, while 1 means completely opaque (solid).

Parameters

  array_rgba | = Red,Green,Blue,Alpha color component.

clan::Colorf::Colorf | ( | const Vec4f & | color | ) |
| inline

Constructs a color.

Parameters

  color | = The color

clan::Colorf::Colorf | ( | unsigned char | r,
|  | unsigned char | g,
|  | unsigned char | b,
|  | unsigned char | a = `255`
| ) |  |
| inline

Constructs a color.

Color components are specified in the range 0 to 255.
An alpha value of 0 means complete transparency, while 255 means completely opaque (solid).

Parameters

  r | = Red color component.
  g | = Green color component.
  b | = Blue color component.
  a | = Alpha (transparency) color component.

clan::Colorf::Colorf | ( | int | r,
|  | int | g,
|  | int | b,
|  | int | a = `255`
| ) |  |
| inline

Constructs a color.

Color components are specified in the range 0 to 255.
An alpha value of 0 means complete transparency, while 255 means completely opaque (solid).

Parameters

  r | = Red color component.
  g | = Green color component.
  b | = Blue color component.
  a | = Alpha (transparency) color component.

clan::Colorf::Colorf | ( | const Color & | color | ) |
| inline explicit

clan::Colorf::Colorf | ( | const std::string & | hexstr | ) |
| inline

Constructs a color.

Color components are specified in the range 0 to 255.
An alpha value of 0 means complete transparency, while 255 means completely opaque (solid).

Parameters

  hexstr | The colors rgba components as a hexadecimal string of the format "#rrggbbaa", where the '#' and "aa" parts are optional.

References clan::Colorf::Colorf(), and clan::Color::find_color().

template<typename Type, typename ColorType>

clan::ColorHSLx< Type, ColorType >::ColorHSLx | ( |  | ) |
| inline

Constructs a color.

template<typename Type, typename ColorType>

clan::ColorHSLx< Type, ColorType >::ColorHSLx | ( | Type | h,
|  | Type | s,
|  | Type | l,
|  | Type | a
| ) |  |
| inline

template<typename Type, typename ColorType>

clan::ColorHSLx< Type, ColorType >::ColorHSLx | ( | const ColorHSLx< Type, ColorType > & | copy | ) |
| inline

References clan::ColorHSLx< Type, ColorType >::a, clan::ColorHSLx< Type, ColorType >::h, clan::ColorHSLx< Type, ColorType >::l, and clan::ColorHSLx< Type, ColorType >::s.

template<typename Type, typename ColorType>

clan::ColorHSLx< Type, ColorType >::ColorHSLx | ( | const Color & | color | ) |

template<typename Type, typename ColorType>

clan::ColorHSLx< Type, ColorType >::ColorHSLx | ( | const Colorf & | color | ) |

template<typename Type, typename ColorType>

clan::ColorHSVx< Type, ColorType >::ColorHSVx | ( |  | ) |
| inline

Constructs a color.

template<typename Type, typename ColorType>

clan::ColorHSVx< Type, ColorType >::ColorHSVx | ( | Type | h,
|  | Type | s,
|  | Type | v,
|  | Type | a
| ) |  |
| inline

template<typename Type, typename ColorType>

clan::ColorHSVx< Type, ColorType >::ColorHSVx | ( | const ColorHSVx< Type, ColorType > & | copy | ) |
| inline

References clan::ColorHSVx< Type, ColorType >::a, clan::ColorHSVx< Type, ColorType >::h, clan::ColorHSVx< Type, ColorType >::s, and clan::ColorHSVx< Type, ColorType >::v.

template<typename Type, typename ColorType>

clan::ColorHSVx< Type, ColorType >::ColorHSVx | ( | const Color & | color | ) |

template<typename Type, typename ColorType>

clan::ColorHSVx< Type, ColorType >::ColorHSVx | ( | const Colorf & | color | ) |

clan::CursorDescription::CursorDescription | ( |  | ) |

Constructs a cursor description.

clan::CursorDescription::CursorDescription | ( | const CursorDescription & | copy | ) |

Constructs a CursorDescription.

Parameters

  copy | = Cursor Description

clan::CursorDescriptionFrame::CursorDescriptionFrame | ( | PixelBuffer | pixelbuffer,
|  | Rect | rect
| ) |  |
| inline

Constructs a CursorDescriptionFrame.

Parameters

  pixelbuffer | = Pixel Buffer
  rect | = Rect

clan::Gradient::Gradient | ( |  | ) |
| inline

Constructs a color gradient.

clan::Gradient::Gradient | ( | const Colorf & | top_left,
|  | const Colorf & | top_right,
|  | const Colorf & | bottom_left,
|  | const Colorf & | bottom_right
| ) |  |
| inline

Constructs a color gradient.

Parameters

  top_left | Top left color component.
  top_right | Top right color component.
  bottom_left | Bottom left color component.
  bottom_right | Bottom right color component.

clan::Gradient::Gradient | ( | const Colorf & | first_color,
|  | const Colorf & | second_color
| ) |  |
| inline

Constructs a Gradient.

Parameters

  first_color | = Colorf
  second_color | = Colorf

clan::SpanLayout::HitTestResult::HitTestResult | ( |  | ) |
| inline

clan::Image::Image | ( |  | ) |

Constructs a null instance.

clan::Image::Image | ( | Texture2D | texture,
|  | const Rect & | rect
| ) |  |

Constructs an image from a texture.

Parameters

  texture | = Texture to get image data from
  rect | = Position and size in texture to get image data from

clan::Image::Image | ( | Subtexture & | sub_texture | ) |

Constructs an image from a subtexture.

Parameters

  sub_texture | = Subtexture to get image data from

clan::Image::Image | ( | Canvas & | canvas,
|  | const PixelBuffer & | pixelbuffer,
|  | const Rect & | rect
| ) |  |

Constructs a Image from a pixelbuffer.

Parameters

  canvas | = Canvas
  pixelbuffer | = Pixelbuffer to get image data from
  rect | = pixelbuffer rect

clan::Image::Image | ( | Canvas & | canvas,
|  | const std::string & | filename,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Constructs a Image.

Parameters

  canvas | = Canvas
  filename | Filename of image to load
  import_desc | = Image Import Description

clan::Image::Image | ( | Canvas & | canvas,
|  | const std::string & | filename,
|  | const FileSystem & | fs,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Constructs a Image.

Parameters

  canvas | = Canvas
  filename | Filename of image to load
  dir | = Virtual directory to load filename from
  import_desc | = Image Import Description

clan::SpanLayout::SpanLayout | ( |  | ) |

clan::Sprite::Sprite | ( |  | ) |

Constructs a null instance.

clan::Sprite::Sprite | ( | Canvas & | canvas,
|  | const std::string & | fullname,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Constructs a Sprite.

Parameters

  canvas | = Canvas
  fullname | = String Ref

clan::Sprite::Sprite | ( | Canvas & | canvas,
|  | const std::string & | filename,
|  | const FileSystem & | file_system,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Constructs a Sprite.

Parameters

  canvas | = Canvas
  filename | = String Ref
  dir | = Virtual Directory

clan::Sprite::Sprite | ( | Canvas & | canvas,
|  | IODevice & | file,
|  | const std::string & | image_type,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Constructs a Sprite.

Parameters

  canvas | = Canvas
  file | = IODevice
  image_type | = String

clan::Sprite::Sprite | ( | Canvas & | canvas | ) |

Constructs an empty Sprite.

Parameters

  gc | = Graphic Context

clan::Subtexture::Subtexture | ( |  | ) |

Constructs a null instance.

clan::Subtexture::Subtexture | ( | Texture2D | texture,
|  | const Rect & | geometry
| ) |  |

Constructs a Subtexture.

Parameters

  texture | = Texture
  geometry | = Rect

clan::TextureGroup::TextureGroup | ( |  | ) |

Constructs a null instance.

clan::TextureGroup::TextureGroup | ( | const Size & | texture_sizes | ) |

Constructs a texture group.

clan::CursorDescription::~CursorDescription | ( |  | ) |

virtual clan::Image::~Image | ( |  | ) |
| virtual

clan::SpanLayout::~SpanLayout | ( |  | ) |

virtual clan::Sprite::~Sprite | ( |  | ) |
| virtual

clan::Subtexture::~Subtexture | ( |  | ) |

clan::TextureGroup::~TextureGroup | ( |  | ) |

Subtexture clan::TextureGroup::add | ( | GraphicContext & | context,
|  | const Size & | size
| ) |  |

Allocate space for another sub texture.

void clan::CursorDescription::add_alphaclipped_frames | ( | const PixelBuffer & | pixelbuffer,
|  | int | xpos = `0`,
|  | int | ypos = `0`,
|  | float | trans_limit = `0.05f`
| ) |  |

Adds images separated with pure alpha (within trans_limit).

The alpha clipper will cut out frames from an image based on the transparency in the picture. It first determines the height of a row by searching for the first line that it considers completely transparent. Then it finds the width of each frame on this line by looking for columns that are completely transparency.

Parameters

  pixelbuffer | Image source.
  texture | Image source.
  xpos,ypos | Upper left position where alpha cutting should begin.
  trans_limit | Amount of non-transparent alpha allowed before a pixel is not considered transparent.

void clan::Sprite::add_alphaclipped_frames | ( | Canvas & | canvas,
|  | const Texture2D & | texture,
|  | int | xpos = `0`,
|  | int | ypos = `0`,
|  | float | trans_limit = `0.05f`
| ) |  |

Adds images separated with pure alpha (within trans_limit).

The alpha clipper will cut out frames from an image based on the transparency in the picture. It first determines the height of a row by searching for the first line that it considers completely transparent. Then it finds the width of each frame on this line by looking for columns that are completely transparency.

Parameters

  pixelbuffer | Image source.
  texture | Image source.
  xpos,ypos | Upper left position where alpha cutting should begin.
  trans_limit | Amount of non-transparent alpha allowed before a pixel is not considered transparent.

void clan::CursorDescription::add_alphaclipped_frames_free | ( | const PixelBuffer & | pixelbuffer,
|  | int | xpos = `0`,
|  | int | ypos = `0`,
|  | float | trans_limit = `0.05f`
| ) |  |

Adds images separated with pure alpha (within trans_limit).

The alpha clipper will cut out frames from an image based on the transparency in the picture. It scans the lines horizontally from top to bottom. As soon as a non-transarent pixel is discovered, the clipper finds the bounding box for that region and then moves on.

Parameters

  pixelbuffer | Image source.
  texture | Image source.
  xpos,ypos | Upper left position where alpha cutting should begin.
  trans_limit | Amount of non-transparent alpha allowed before a pixel is not considered transparent.

void clan::Sprite::add_alphaclipped_frames_free | ( | Canvas & | canvas,
|  | const Texture2D & | texture,
|  | int | xpos = `0`,
|  | int | ypos = `0`,
|  | float | trans_limit = `0.05f`
| ) |  |

Adds images separated with pure alpha (within trans_limit).

The alpha clipper will cut out frames from an image based on the transparency in the picture. It scans the lines horizontally from top to bottom. As soon as a non-transarent pixel is discovered, the clipper finds the bounding box for that region and then moves on.

Parameters

  pixelbuffer | Image source.
  texture | Image source.
  xpos,ypos | Upper left position where alpha cutting should begin.
  trans_limit | Amount of non-transparent alpha allowed before a pixel is not considered transparent.

template<typename T >

void clan::SpanLayout::add_component | ( | T * | component,
|  | int | baseline_offset = `0`,
|  | int | id = `-1`
| ) |  |

Add component.

Parameters

  component | = T
  baseline_offset | = value
  id | = value

void clan::CursorDescription::add_frame | ( | const PixelBuffer & | pixelbuffer | ) |

Adds a single image.

Parameters

  pixelbuffer | Image source.
  filename | Filename of image.
  vfs | Virtual File System to load image from.

void clan::CursorDescription::add_frame | ( | const std::string & | fullname,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Add frame.

Parameters

  fullname | = String Ref

void clan::CursorDescription::add_frame | ( | IODevice & | file,
|  | const std::string & | image_type,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Add frame.

Parameters

  file | = IODevice
  image_type | = String

void clan::CursorDescription::add_frame | ( | const std::string & | filename,
|  | FileSystem & | fs,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Add frame.

Parameters

  filename | = String Ref
  dir | = Virtual Directory

void clan::Sprite::add_frame | ( | const Texture2D & | texture | ) |

Add frame.

Parameters

  texture | = Texture

void clan::Sprite::add_frame | ( | Canvas & | canvas,
|  | const std::string & | fullname,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Add frame.

Parameters

  fullname | = String Ref

void clan::Sprite::add_frame | ( | Canvas & | canvas,
|  | IODevice & | file,
|  | const std::string & | image_type,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Add frame.

Parameters

  file | = IODevice
  image_type | = String

void clan::Sprite::add_frame | ( | Canvas & | canvas,
|  | const std::string & | filename,
|  | const FileSystem & | file_system,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |

Add frame.

Parameters

  filename | = String Ref
  dir | = Virtual Directory

void clan::Sprite::add_frame | ( | const Texture2D & | texture,
|  | const Rect & | frame
| ) |  |

Add frame.

Parameters

  texture | = Texture
  frame | = Rect

void clan::Sprite::add_frames | ( | const Texture2D & | texture,
|  | Rect * | frames,
|  | int | num_frames
| ) |  |

Add frames.

Parameters

  texture | = Texture
  frames | = Rect
  num_frames | = value

void clan::CursorDescription::add_gridclipped_frames | ( | const PixelBuffer & | pixelbuffer,
|  | int | xpos,
|  | int | ypos,
|  | int | width,
|  | int | height,
|  | int | xarray = `1`,
|  | int | yarray = `1`,
|  | int | array_skipframes = `0`,
|  | int | xspacing = `0`,
|  | int | yspacing = `0`
| ) |  |

Adds images formed in a grid.

This function will cut out a grid of frames from one image.

Parameters

  pixelbuffer | Image source.
  texture | Image source.
  xpos,ypos | Position of where image grid starts.
  width,height | Size of a frame in the grid.
  xarray,yarray | Number of columns and rows in grid.
  array_skipframes | Number of frames to skip at last gridline.
  xspacing,yspacing | Pixel interspacing between grid frames.

void clan::Sprite::add_gridclipped_frames | ( | Canvas & | canvas,
|  | const Texture2D & | texture,
|  | int | xpos,
|  | int | ypos,
|  | int | width,
|  | int | height,
|  | int | xarray = `1`,
|  | int | yarray = `1`,
|  | int | array_skipframes = `0`,
|  | int | xspacing = `0`,
|  | int | yspacing = `0`
| ) |  |

Adds images formed in a grid.

This function will cut out a grid of frames from one image.

Parameters

  pixelbuffer | Image source.
  texture | Image source.
  xpos,ypos | Position of where image grid starts.
  width,height | Size of a frame in the grid.
  xarray,yarray | Number of columns and rows in grid.
  array_skipframes | Number of frames to skip at last gridline.
  xspacing,yspacing | Pixel interspacing between grid frames.

void clan::SpanLayout::add_image | ( | const Image & | image,
|  | int | baseline_offset = `0`,
|  | int | id = `-1`
| ) |  |

Add image.

Parameters

  image | = Image
  baseline_offset | = value
  id | = value

void clan::SpanLayout::add_text | ( | const std::string & | text,
|  | const Font & | font,
|  | const Colorf & | color = `Colorf::white`,
|  | int | id = `-1`
| ) |  |

Add text.

Parameters

  text | = String
  font | = Font
  color | = Colorf
  id | = value

void clan::SpanLayout::clear | ( |  | ) |

Clear.

Image clan::Image::clone | ( |  | ) | const

Copies all information from this image to another, excluding the graphics that remain shared.

Sprite clan::Sprite::clone | ( |  | ) | const

Copies all information from this sprite to another, excluding the graphics that remain shared.

void clan::Image::draw | ( | Canvas & | canvas,
|  | float | x,
|  | float | y
| ) |  | const

Draw image on graphic context.

Parameters

  x,y | Anchor position of where to render image. Actual rendering position depends on the anchor and the alignment mode.
  gc | Graphic context on which to render upon.

void clan::Image::draw | ( | Canvas & | canvas,
|  | const Rectf & | src,
|  | const Rectf & | dest
| ) |  | const

Draw image on graphic context.

Parameters

  gc | Graphic context on which to render upon.
  src | Source rectangle to draw. Use this is draw only part of the image.
  dest | Rectangle to draw image in.

void clan::Image::draw | ( | Canvas & | canvas,
|  | const Rectf & | dest
| ) |  | const

Draw image on graphic context.

Parameters

  gc | Graphic context on which to render upon.
  dest | Rectangle to draw image in.

void clan::Image::draw | ( | Canvas & | canvas,
|  | const Rectf & | src,
|  | const Quadf & | dest
| ) |  | const

Draw image on graphic context.

Parameters

  gc | Graphic context on which to render upon.
  src | Source rectangle to draw. Use this is draw only part of the image.
  dest | Quad to draw image in.

void clan::Image::draw | ( | Canvas & | canvas,
|  | const Quadf & | dest
| ) |  | const

Draw image on graphic context.

Parameters

  gc | Graphic context on which to render upon.
  dest | Quad to draw image in.

void clan::Sprite::draw | ( | Canvas & | canvas,
|  | float | x,
|  | float | y
| ) |  |

Draw sprite on graphic context.

Parameters

  x,y | Anchor position of where to render sprite. Actual rendering position depends on the anchor and the alignment mode.
  gc | Graphic context on which to render upon. If null, will use Display's current graphic context.
  src | Source rectangle to draw. Use this is draw only part of the sprite.
  dest | Rectangle to draw sprite in.

void clan::Sprite::draw | ( | Canvas & | canvas,
|  | int | x,
|  | int | y
| ) |  |

void clan::Sprite::draw | ( | Canvas & | canvas,
|  | const Rectf & | src,
|  | const Rectf & | dest
| ) |  |

void clan::Sprite::draw | ( | Canvas & | canvas,
|  | const Rectf & | dest
| ) |  |

void clan::SpanLayout::draw_layout | ( | Canvas & | canvas | ) |

Draw layout.

Parameters

  canvas | = Canvas

void clan::SpanLayout::draw_layout_ellipsis | ( | Canvas & | canvas,
|  | const Rect & | content_rect
| ) |  |

Draw layout generating ellipsis for clipped text.

Parameters

  canvas | = Canvas
  content_rect | = Clipping rectangle

static Color clan::Color::find_color | ( | const std::string & | name | ) |
| static

Find and returns the static color matching a string.

Parameters

  name | Name of color to match, eg. "blue".

Returns
  Reference to matching static color, or transparent (rgba(0,0,0,0)) if there was no match.

Referenced by clan::Colorf::Colorf().

Size clan::SpanLayout::find_preferred_size | ( | Canvas & | canvas | ) |

Find preferred size.

Parameters

  canvas | = Canvas

Returns
  Size

void clan::Sprite::finish | ( |  | ) |

Finish animation.

When an animation is finished, it will no longer show, unless ShowLastFrame is set to anything other than show_blank

unsigned int clan::Color::get_abgr8 | ( |  | ) | const
| inline

Returns the color in ABGR8888 format.

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

void clan::Image::get_alignment | ( | Origin & | origin,
|  | float & | x,
|  | float & | y
| ) |  | const

Returns translation hot-spot.

void clan::Sprite::get_alignment | ( | Origin & | origin,
|  | int & | x,
|  | int & | y
| ) |  | const

Returns translation hot-spot.

unsigned char clan::Color::get_alpha | ( |  | ) | const
| inline

Returns the alpha color component, in the range 0-255.

References clan::Vec4< Type >::a.

Referenced by clan::Image::set_color(), and clan::Sprite::set_color().

float clan::Sprite::get_alpha | ( |  | ) | const

Returns current alpha.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

float clan::Image::get_alpha | ( |  | ) | const

Returns current alpha.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

float clan::Colorf::get_alpha | ( |  | ) | const
| inline

Get Alpha.

Returns
  alpha

References clan::Vec4< Type >::a.

float clan::Color::get_alpha_f | ( |  | ) | const
| inline

Returns the alpha color component, in the range 0-1.

References clan::Vec4< Type >::a.

Angle clan::Sprite::get_angle | ( |  | ) | const

Returns current angle in degrees.

unsigned int clan::Color::get_argb8 | ( |  | ) | const
| inline

Returns the color in ARGB8888 format.

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

Angle clan::Sprite::get_base_angle | ( |  | ) | const

Returns the base angle in degrees - angle added to any rotation set with set_rotate() or rotate().

unsigned int clan::Color::get_bgra8 | ( |  | ) | const
| inline

Returns the color in BGRA8888 format.

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

unsigned char clan::Color::get_blue | ( |  | ) | const
| inline

Returns the blue color component, in the range 0-255.

References clan::Vec4< Type >::b.

Referenced by clan::Image::set_color(), and clan::Sprite::set_color().

float clan::Colorf::get_blue | ( |  | ) | const
| inline

Get Blue.

Returns
  blue

References clan::Vec4< Type >::b.

float clan::Color::get_blue_f | ( |  | ) | const
| inline

Returns the blue color component, in the range 0-1.

References clan::Vec4< Type >::b.

Colorf clan::Sprite::get_color | ( |  | ) | const

Returns current color.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

Colorf clan::Image::get_color | ( |  | ) | const

Returns current color.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

std::string clan::SpanLayout::get_combined_text | ( |  | ) | const

Get Combined text.

Returns
  combined_text

int clan::Sprite::get_current_frame | ( |  | ) | const

Returns current frame in animation. 0 is first frame.

int clan::SpanLayout::get_first_baseline_offset | ( |  | ) |

Returns the baseline offset for the first baseline.

int clan::Sprite::get_frame_count | ( |  | ) | const

Returns number of frames in animation.

int clan::Sprite::get_frame_delay | ( | int | frame | ) | const

Returns the delay of a frame.

Parameters

  frame | = The frame. 0 is first frame.

Returns
  The delay in milliseconds

Point clan::Sprite::get_frame_offset | ( | int | frame | ) | const

Returns the translation offset of a frame. 0 is first frame.

Size clan::Sprite::get_frame_size | ( | int | frame | ) | const

Returns the size of a frame. 0 is first frame.

Subtexture clan::Sprite::get_frame_texture | ( | int | frame | ) | const

Return the texture of a frame. 0 is first frame.

const std::vector<CursorDescriptionFrame>& clan::CursorDescription::get_frames | ( |  | ) | const

Returns a list over all available frames.

Rect clan::Subtexture::get_geometry | ( |  | ) | const

Returns the part of the texture used by this object.

unsigned char clan::Color::get_green | ( |  | ) | const
| inline

Returns the green color component, in the range 0-255.

References clan::Vec4< Type >::g.

Referenced by clan::Image::set_color(), and clan::Sprite::set_color().

float clan::Colorf::get_green | ( |  | ) | const
| inline

Get Green.

Returns
  green

References clan::Vec4< Type >::g.

float clan::Color::get_green_f | ( |  | ) | const
| inline

Returns the green color component, in the range 0-1.

References clan::Vec4< Type >::g.

float clan::Image::get_height | ( |  | ) | const

Return the height of the image.

int clan::Sprite::get_height | ( |  | ) | const

Return the height of the current frame, shortcut for 'get_frame_size(get_current_frame()).height'.

Point clan::CursorDescription::get_hotspot | ( |  | ) | const

the offset of where the cursor is drawn relative to cursor image

int clan::Sprite::get_id | ( |  | ) | const

Returns the attached id (if exists).

int clan::SpanLayout::get_last_baseline_offset | ( |  | ) |

Returns the baseline offset for the last baseline.

bool clan::Sprite::get_linear_filter | ( |  | ) | const

Returns true if the sprite uses a linear filter for scaling up and down, false if a nearest-point filter is used.

static std::vector<std::string>& clan::Color::get_names | ( |  | ) |
| static

Returns the names of static colors defined.

Rect clan::SpanLayout::get_rect | ( |  | ) | const

Get Rect.

Returns
  rect

std::vector<Rect> clan::SpanLayout::get_rect_by_id | ( | int | id | ) | const

Get Rect By Id.

Returns
  rect

unsigned char clan::Color::get_red | ( |  | ) | const
| inline

Returns the red color component, in the range 0-255.

References clan::Vec4< Type >::r.

Referenced by clan::Image::set_color(), and clan::Sprite::set_color().

float clan::Colorf::get_red | ( |  | ) | const
| inline

Get Red.

Returns
  red

References clan::Vec4< Type >::r.

float clan::Color::get_red_f | ( |  | ) | const
| inline

Returns the red color component, in the range 0-1.

References clan::Vec4< Type >::r.

unsigned int clan::Color::get_rgba8 | ( |  | ) | const
| inline

Returns the color in RGBA8888 format.

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

void clan::Sprite::get_rotation_hotspot | ( | Origin & | origin,
|  | int & | x,
|  | int & | y
| ) |  | const

Returns rotation hot-spot.

void clan::Sprite::get_scale | ( | float & | x,
|  | float & | y
| ) |  | const

Returns scale for x and y.

1.0f is normal scale, 2.0f is twice the size, etc.

float clan::Image::get_scale_x | ( |  | ) | const

Returns x scale.

1.0f is normal scale, 2.0f is twice the size, etc.

float clan::Image::get_scale_y | ( |  | ) | const

Returns y scale.

1.0f is normal scale, 2.0f is twice the size, etc.

ShowOnFinish clan::Sprite::get_show_on_finish | ( |  | ) | const

Returns an enum for what is shown when the animation is finished.

If show_blank is returned, nothing is shown when animation is done.

Size clan::SpanLayout::get_size | ( |  | ) | const

Get Size.

Returns
  size

Sizef clan::Image::get_size | ( |  | ) | const

Return the size of the image.

Size clan::Sprite::get_size | ( |  | ) | const

Return the size of the current frame, shortcut for 'get_frame_size(get_current_frame())'.

int clan::TextureGroup::get_subtexture_count | ( |  | ) | const

Returns the amount of sub-textures allocated in group.

int clan::TextureGroup::get_subtexture_count | ( | unsigned int | texture_index | ) | const

Returns the amount of sub-textures for a specific texture index.

Texture2D clan::Subtexture::get_texture | ( |  | ) |

Returns the texture.

Subtexture clan::Image::get_texture | ( |  | ) | const

Return the texture of the image.

TextureAllocationPolicy clan::TextureGroup::get_texture_allocation_policy | ( |  | ) | const

Returns the texture allocation policy.

int clan::TextureGroup::get_texture_count | ( |  | ) | const

Returns the amount of textures used by group.

Size clan::TextureGroup::get_texture_sizes | ( |  | ) | const

Returns the size of the textures used by this texture group.

std::vector<Texture2D> clan::TextureGroup::get_textures | ( |  | ) | const

Returns the textures.

float clan::Image::get_width | ( |  | ) | const

Return the width of the image.

int clan::Sprite::get_width | ( |  | ) | const

Return the width of the current frame, shortcut for 'get_frame_size(get_current_frame()).width'.

void clan::SpanLayout::hide_cursor | ( |  | ) |

Hides the cursor caret.

HitTestResult clan::SpanLayout::hit_test | ( | Canvas & | canvas,
|  | const Point & | pos
| ) |  |

Hit test.

Parameters

  canvas | = Canvas
  pos | = Point

Returns
  Hit Test Result

void clan::TextureGroup::insert_texture | ( | Texture2D & | texture,
|  | const Rect & | texture_rect
| ) |  |

Insert an existing texture into the texture group.

Parameters

  texture | = Texture to insert
  texture_rect | = Free space within the texture that the texture group can use

bool clan::Sprite::is_finished | ( |  | ) | const

Returns true if animation is finished.

When an animation is finished, it will no longer show, unless ShowLastFrame is set to anything other than show_blank

bool clan::Sprite::is_looping | ( |  | ) | const

Returns true if animation has looped in the last update cycle.

bool clan::Subtexture::is_null | ( |  | ) | const
| inline

Returns true if this object is invalid.

bool clan::TextureGroup::is_null | ( |  | ) | const
| inline

Returns true if this object is invalid.

bool clan::Sprite::is_null | ( |  | ) | const
| inline

Returns true if this object is invalid.

bool clan::Image::is_null | ( |  | ) | const
| inline

Returns true if this object is invalid.

bool clan::Sprite::is_play_backward | ( |  | ) | const

Returns true if animation is played in from right to left (starts at end).

bool clan::Sprite::is_play_loop | ( |  | ) | const

Returns true if animation is played in loop (more than once).

bool clan::Sprite::is_play_pingpong | ( |  | ) | const

Returns true if animation is played in ping-pong mode.

void clan::SpanLayout::layout | ( | Canvas & | canvas,
|  | int | max_width
| ) |  |

Layout.

Parameters

  canvas | = Canvas
  max_width | = value

static CursorDescription clan::CursorDescription::load | ( | GraphicContext & | gc,
|  | const std::string & | resource_id,
|  | const XMLResourceDocument & | doc,
|  | const ImageImportDescription & | import_desc = `ImageImportDescription()`
| ) |  |
| static

Loads a CursorDescription from a XML resource definition.

static Sprite clan::Sprite::load | ( | Canvas & | canvas,
|  | const std::string & | id,
|  | const XMLResourceDocument & | doc
| ) |  |
| static

Loads a Sprite from a XML resource definition.

static Image clan::Image::load | ( | Canvas & | canvas,
|  | const std::string & | id,
|  | const XMLResourceDocument & | doc
| ) |  |
| static

Loads a Sprite from a XML resource definition.

void clan::Colorf::normalize | ( |  | ) |
| inline

Normalize the color by ensuring that all color values lie inbetween (0.0, 1.0)

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::f, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

clan::Colorf::operator Color | ( |  | ) | const
| inline

Type conversion operator.

template<typename Type, typename ColorType>

clan::ColorHSVx< Type, ColorType >::operator ColorType | ( |  | ) |

template<typename Type, typename ColorType>

clan::ColorHSLx< Type, ColorType >::operator ColorType | ( |  | ) |

template<typename Type, typename ColorType>

bool clan::ColorHSLx< Type, ColorType >::operator!= | ( | const ColorHSLx< Type, ColorType > & | color | ) | const
| inline

!= operator.

References clan::ColorHSLx< Type, ColorType >::a, clan::ColorHSLx< Type, ColorType >::h, clan::ColorHSLx< Type, ColorType >::l, and clan::ColorHSLx< Type, ColorType >::s.

template<typename Type, typename ColorType>

bool clan::ColorHSVx< Type, ColorType >::operator!= | ( | const ColorHSVx< Type, ColorType > & | color | ) | const
| inline

!= operator.

References clan::ColorHSVx< Type, ColorType >::a, clan::ColorHSVx< Type, ColorType >::h, clan::ColorHSVx< Type, ColorType >::s, and clan::ColorHSVx< Type, ColorType >::v.

bool clan::CursorDescription::operator!= | ( | const CursorDescription & | that | ) | const
| inline

bool clan::Gradient::operator!= | ( | const Gradient & | other | ) | const
| inline

Compares gradient to another one.

bool clan::Color::operator!= | ( | const Color & | c | ) | const
| inline

Color != Color operator (deep compare)

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

bool clan::Image::operator!= | ( | const Image & | other | ) | const
| inline

Inequality operator.

bool clan::Sprite::operator!= | ( | const Sprite & | other | ) | const
| inline

Inequality operator.

bool clan::Colorf::operator!= | ( | const Colorf & | c | ) | const
| inline

Color != Color operator (deep compare)

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

bool clan::CursorDescription::operator< | ( | const CursorDescription & | that | ) | const
| inline

bool clan::Image::operator< | ( | const Image & | other | ) | const
| inline

Less than operator.

bool clan::Sprite::operator< | ( | const Sprite & | other | ) | const
| inline

Less than operator.

bool clan::CursorDescription::operator<= | ( | const CursorDescription & | that | ) | const
| inline

template<typename Type, typename ColorType>

ColorHSVx<Type, ColorType>& clan::ColorHSVx< Type, ColorType >::operator= | ( | const ColorHSVx< Type, ColorType > & | copy | ) |
| inline

= operator.

References clan::ColorHSVx< Type, ColorType >::a, clan::ColorHSVx< Type, ColorType >::h, clan::ColorHSVx< Type, ColorType >::s, and clan::ColorHSVx< Type, ColorType >::v.

template<typename Type, typename ColorType>

ColorHSLx<Type, ColorType>& clan::ColorHSLx< Type, ColorType >::operator= | ( | const ColorHSLx< Type, ColorType > & | copy | ) |
| inline

= operator.

References clan::ColorHSLx< Type, ColorType >::a, clan::ColorHSLx< Type, ColorType >::h, clan::ColorHSLx< Type, ColorType >::l, and clan::ColorHSLx< Type, ColorType >::s.

CursorDescription& clan::CursorDescription::operator= | ( | const CursorDescription & | copy | ) |

Copy assignment operator.

Sprite& clan::Sprite::operator= | ( | const Sprite & | copy | ) |

Copy assignment operator.

template<typename Type, typename ColorType>

bool clan::ColorHSVx< Type, ColorType >::operator== | ( | const ColorHSVx< Type, ColorType > & | color | ) | const
| inline

== operator.

References clan::ColorHSVx< Type, ColorType >::a, clan::ColorHSVx< Type, ColorType >::h, clan::ColorHSVx< Type, ColorType >::s, and clan::ColorHSVx< Type, ColorType >::v.

template<typename Type, typename ColorType>

bool clan::ColorHSLx< Type, ColorType >::operator== | ( | const ColorHSLx< Type, ColorType > & | color | ) | const
| inline

== operator.

References clan::ColorHSLx< Type, ColorType >::a, clan::ColorHSLx< Type, ColorType >::h, clan::ColorHSLx< Type, ColorType >::l, and clan::ColorHSLx< Type, ColorType >::s.

bool clan::Gradient::operator== | ( | const Gradient & | other | ) | const
| inline

Compares gradient to another one.

References clan::Gradient::bottom_left, clan::Gradient::bottom_right, clan::Gradient::top_left, and clan::Gradient::top_right.

bool clan::CursorDescription::operator== | ( | const CursorDescription & | that | ) | const
| inline

bool clan::Color::operator== | ( | const Color & | c | ) | const
| inline

Color == Color operator (deep compare)

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

bool clan::Image::operator== | ( | const Image & | other | ) | const
| inline

Equality operator.

bool clan::Sprite::operator== | ( | const Sprite & | other | ) | const
| inline

Equality operator.

bool clan::Colorf::operator== | ( | const Colorf & | c | ) | const
| inline

Color == Color operator (deep compare)

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

bool clan::CursorDescription::operator> | ( | const CursorDescription & | that | ) | const
| inline

bool clan::CursorDescription::operator>= | ( | const CursorDescription & | that | ) | const
| inline

void clan::TextureGroup::remove | ( | Subtexture & | subtexture | ) |

Deallocate space, from a previously allocated texture.

Warning - It is advised to set TextureAllocationPolicy to search_previous_textures if using this function. Also be aware of texture fragmentation. Empty textures are not removed.

static Resource<Sprite> clan::Sprite::resource | ( | Canvas & | canvas,
|  | const std::string & | id,
|  | const ResourceManager & | resources
| ) |  |
| static

Retrieves a Sprite resource from the resource manager.

Parameters

  gc | = canvas = Canvas
  resources | = Resource manager
  id | = id

static Resource<Image> clan::Image::resource | ( | Canvas & | canvas,
|  | const std::string & | id,
|  | const ResourceManager & | resources
| ) |  |
| static

Retrieves a Sprite resource from the resource manager.

Parameters

  canvas | = Canvas
  resources | = Resource manager
  id | = id

void clan::Sprite::restart | ( |  | ) |

Restart animation.

void clan::Sprite::rotate | ( | Angle | angle | ) |

Add angle in degrees to current angle.

void clan::Sprite::rotate_pitch | ( | Angle | angle | ) |

Add angle in degrees to current pitch angle.

void clan::Sprite::rotate_yaw | ( | Angle | angle | ) |

Add angle in degrees to current yaw angle.

void clan::SpanLayout::set_align | ( | SpanAlign | align | ) |

Sets the text alignment.

Alignment is applied when layout() is called

Parameters

  align | = The alignment

void clan::Image::set_alignment | ( | Origin | origin,
|  | float | x = `0`,
|  | float | y = `0`
| ) |  |

Sets translation hotspot.

void clan::Sprite::set_alignment | ( | Origin | origin,
|  | int | x = `0`,
|  | int | y = `0`
| ) |  |

Sets translation hotspot.

void clan::Image::set_alpha | ( | float | alpha | ) |

Sets transparency.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

void clan::Sprite::set_alpha | ( | float | alpha | ) |

Sets transparency.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

void clan::Color::set_alpha | ( | unsigned char | value | ) |
| inline

Set alpha color component, in the range 0-255.

References clan::Vec4< Type >::a.

void clan::Colorf::set_alpha | ( | float | value | ) |
| inline

Set alpha color component, in the range 0-1.

References clan::Vec4< Type >::a.

void clan::Color::set_alpha_f | ( | float | value | ) |
| inline

Set alpha color component, in the range 0-1.

References clan::Vec4< Type >::a, and clan::f.

void clan::Sprite::set_angle | ( | Angle | angle | ) |

Set absolute rotation angle.

void clan::Sprite::set_angle_pitch | ( | Angle | angle | ) |

Set absolute rotation pitch angle.

void clan::Sprite::set_angle_yaw | ( | Angle | angle | ) |

Set absolute rotation yaw angle.

void clan::Color::set_argb8 | ( | unsigned int | color | ) |

Set color based on argb color components.

void clan::Sprite::set_base_angle | ( | Angle | angle | ) |

Sets the base angle in degrees - angle added to any rotation set with set_rotate() or rotate().

void clan::Color::set_bgra8 | ( | unsigned int | color | ) |

Set color based on rgba color components.

void clan::Color::set_blue | ( | unsigned char | value | ) |
| inline

Set blue color component, in the range 0-255.

References clan::Vec4< Type >::b.

void clan::Colorf::set_blue | ( | float | value | ) |
| inline

Set blue color component, in the range 0-1.

References clan::Vec4< Type >::b.

void clan::Color::set_blue_f | ( | float | value | ) |
| inline

Set blue color component, in the range 0-1.

References clan::Vec4< Type >::b, and clan::f.

void clan::Image::set_color | ( | const Colorf & | color | ) |

Sets the color.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

void clan::Image::set_color | ( | const Color & | c | ) |
| inline

Set color.

Parameters

  c | = Color

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::color, clan::Vec4< Type >::g, clan::Color::get_alpha(), clan::Color::get_blue(), clan::Color::get_green(), clan::Color::get_red(), clan::Vec4< Type >::r, and clan::Image::set_color().

Referenced by clan::Image::set_color().

void clan::Sprite::set_color | ( | const Colorf & | color | ) |

Sets the color.

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

void clan::Sprite::set_color | ( | const Color & | c | ) |
| inline

Set color.

Parameters

  c | = Color

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::color, clan::Vec4< Type >::g, clan::Color::get_alpha(), clan::Color::get_blue(), clan::Color::get_green(), clan::Color::get_red(), clan::Vec4< Type >::r, and clan::Sprite::set_color().

Referenced by clan::Sprite::set_color().

void clan::Color::set_color | ( | unsigned char | new_red,
|  | unsigned char | new_green,
|  | unsigned char | new_blue,
|  | unsigned char | new_alpha = `255`
| ) |  |
| inline

Set color based on rgba color components in the range 0-255.

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

void clan::Color::set_colorf | ( | float | new_red,
|  | float | new_green,
|  | float | new_blue,
|  | float | new_alpha = `1.0f`
| ) |  |
| inline

Set color based on rgba color components in the range 0-1.

References clan::Vec4< Type >::a, clan::Vec4< Type >::b, clan::f, clan::Vec4< Type >::g, and clan::Vec4< Type >::r.

void clan::SpanLayout::set_component_geometry | ( |  | ) |

Set component geometry.

void clan::SpanLayout::set_cursor_color | ( | const Colorf & | color | ) |

Sets the cursor color.

Parameters

  color | = Color of cursor

void clan::SpanLayout::set_cursor_overwrite_mode | ( | bool | enable | ) |

Toggles whether the cursor caret is shown as a solid box or a line.

Parameters

  enable | = Shows the cursor as a solid box if set to true

void clan::SpanLayout::set_cursor_pos | ( | std::string::size_type | pos | ) |

Sets the cursor position.

Parameters

  pos | = Index of cursor

void clan::Sprite::set_delay | ( | int | delay_ms | ) |

Sets the delay for all frames.

Parameters

  delay_ms | = Delay in milliseconds

void clan::Sprite::set_frame | ( | unsigned int | frame | ) |

Sets current animation frame. 0 is first frame.

It will cap to available range.

void clan::CursorDescription::set_frame_delay | ( | int | frame,
|  | double | delay
| ) |  |

Sets the duration this frame is displayed, in seconds.

void clan::Sprite::set_frame_delay | ( | int | frame,
|  | int | delay_ms
| ) |  |

Sets the delay of a specific frame.

Parameters

  frame | = Frame number. 0 is first frame.
  delay_ms | = Delay in milliseconds

void clan::Sprite::set_frame_offset | ( | int | frame,
|  | Point | offset
| ) |  |

Sets the translate offset of a specific frame. 0 is first frame.

void clan::Color::set_green | ( | unsigned char | value | ) |
| inline

Set green color component, in the range 0-255.

References clan::Vec4< Type >::g.

void clan::Colorf::set_green | ( | float | value | ) |
| inline

Set green color component, in the range 0-1.

References clan::Vec4< Type >::g.

void clan::Color::set_green_f | ( | float | value | ) |
| inline

Set green color component, in the range 0-1.

References clan::f, and clan::Vec4< Type >::g.

void clan::CursorDescription::set_hotspot | ( | const Point & | hotspot | ) |

Sets the offset of where the cursor is drawn relative to the cursor image.

void clan::Sprite::set_id | ( | int | id | ) |

Sets an attached id.

void clan::Sprite::set_image_data | ( | const Sprite & | image_source | ) |

Sets the image data from another sprite, sharing animation state.

Use this to change the look of your sprite.

void clan::Image::set_linear_filter | ( | bool | linear_filter = `true` | ) |

Set to true if a linear filter should be used for scaling up and down, false if a nearest-point filter should be used.

void clan::Sprite::set_linear_filter | ( | bool | linear_filter = `true` | ) |

Set to true if a linear filter should be used for scaling up and down, false if a nearest-point filter should be used.

void clan::Sprite::set_play_backward | ( | bool | backward = `true` | ) |

Set to true if animation should go backward (start at end).

void clan::Sprite::set_play_loop | ( | bool | loop = `true` | ) |

Set to true if animation should loop, false otherwise.

void clan::Sprite::set_play_pingpong | ( | bool | pingpong = `true` | ) |

Set to true if animation should loop, false otherwise.

void clan::SpanLayout::set_position | ( | const Point & | pos | ) |

Set position.

Parameters

  pos | = Point

void clan::Color::set_red | ( | unsigned char | value | ) |
| inline

Set red color component, in the range 0-255.

References clan::Vec4< Type >::r.

void clan::Colorf::set_red | ( | float | value | ) |
| inline

Set red color component, in the range 0-1.

References clan::Vec4< Type >::r.

void clan::Color::set_red_f | ( | float | value | ) |
| inline

Set red color component, in the range 0-1.

References clan::f, and clan::Vec4< Type >::r.

void clan::Color::set_rgb8 | ( | unsigned int | color | ) |

Set color based on rgb color components. Alpha is set to 255.

void clan::Color::set_rgba8 | ( | unsigned int | color | ) |

Set color based on rgba color components.

void clan::Sprite::set_rotation_hotspot | ( | Origin | origin,
|  | int | x = `0`,
|  | int | y = `0`
| ) |  |

Sets rotation hotspot.

void clan::Image::set_scale | ( | float | x,
|  | float | y
| ) |  |

Set scale for x and y directions individually.

1.0f is normal scale, 2.0f is twice the size, etc.

void clan::Sprite::set_scale | ( | float | x,
|  | float | y
| ) |  |

Set scale for x and y directions individually.

1.0f is normal scale, 2.0f is twice the size, etc.

void clan::SpanLayout::set_selection_colors | ( | const Colorf & | foreground,
|  | const Colorf & | background
| ) |  |

Set selection colors.

Parameters

  foreground | = Colorf
  background | = Colorf

void clan::SpanLayout::set_selection_range | ( | std::string::size_type | start,
|  | std::string::size_type | end
| ) |  |

Set selection range.

Parameters

  size_type | = String
  size_type | = String

void clan::Sprite::set_show_on_finish | ( | Sprite::ShowOnFinish | show_on_finish | ) |

Set what is shown when the animation is finished.

void clan::TextureGroup::set_texture_allocation_policy | ( | TextureAllocationPolicy | policy | ) |

Set the texture allocation policy.

void clan::Image::set_wrap_mode | ( | TextureWrapMode | wrap_s,
|  | TextureWrapMode | wrap_t
| ) |  |

void clan::SpanLayout::show_cursor | ( |  | ) |

Shows the cursor caret.

Signal<void()>& clan::Sprite::sig_animation_finished | ( |  | ) |

Sig animation finished.

Returns
  Signal<void()>

void clan::Subtexture::throw_if_null | ( |  | ) | const

Throw an exception if this object is invalid.

void clan::TextureGroup::throw_if_null | ( |  | ) | const

Throw an exception if this object is invalid.

void clan::Sprite::throw_if_null | ( |  | ) | const

Throw an exception if this object is invalid.

void clan::Image::throw_if_null | ( |  | ) | const

Throw an exception if this object is invalid.

void clan::Sprite::update | ( | int | time_elapsed_ms | ) |

Call this function to update the animation.

Parameters

  time_elapsed_ms | = Time elapsed in milliseconds.

## Variable Documentation

template<typename Type, typename ColorType>

Type clan::ColorHSLx< Type, ColorType >::a

Referenced by clan::ColorHSLx< Type, ColorType >::ColorHSLx(), clan::ColorHSLx< Type, ColorType >::operator!=(), clan::ColorHSLx< Type, ColorType >::operator=(), and clan::ColorHSLx< Type, ColorType >::operator==().

template<typename Type, typename ColorType>

Type clan::ColorHSVx< Type, ColorType >::a

Referenced by clan::ColorHSVx< Type, ColorType >::ColorHSVx(), clan::ColorHSVx< Type, ColorType >::operator!=(), clan::ColorHSVx< Type, ColorType >::operator=(), and clan::ColorHSVx< Type, ColorType >::operator==().

Color clan::Color::aliceblue
| static

rgb(240, 248, 255).

Colorf clan::Colorf::aliceblue
| static

rgb(240, 248, 255).

Color clan::Color::antiquewhite
| static

rgb(250, 235, 215).

Colorf clan::Colorf::antiquewhite
| static

rgb(250, 235, 215).

Color clan::Color::aqua
| static

rgb( 0, 255, 255).

Colorf clan::Colorf::aqua
| static

rgb( 0, 255, 255).

Color clan::Color::aquamarine
| static

rgb(127, 255, 212).

Colorf clan::Colorf::aquamarine
| static

rgb(127, 255, 212).

Color clan::Color::azure
| static

rgb(240, 255, 255).

Colorf clan::Colorf::azure
| static

rgb(240, 255, 255).

Color clan::Color::beige
| static

rgb(245, 245, 220).

Colorf clan::Colorf::beige
| static

rgb(245, 245, 220).

Color clan::Color::bisque
| static

rgb(255, 228, 196).

Colorf clan::Colorf::bisque
| static

rgb(255, 228, 196).

Color clan::Color::black
| static

rgb( 0, 0, 0).

Colorf clan::Colorf::black
| static

rgb( 0, 0, 0).

Color clan::Color::blanchedalmond
| static

rgb(255, 235, 205).

Colorf clan::Colorf::blanchedalmond
| static

rgb(255, 235, 205).

Color clan::Color::blue
| static

rgb( 0, 0, 255).

Colorf clan::Colorf::blue
| static

rgb( 0, 0, 255).

Color clan::Color::blueviolet
| static

rgb(138, 43, 226).

Colorf clan::Colorf::blueviolet
| static

rgb(138, 43, 226).

Colorf clan::Gradient::bottom_left

Color of bottom left corner of gradient.

Referenced by clan::Gradient::operator==().

Colorf clan::Gradient::bottom_right

Color of bottom right corner of gradient.

Referenced by clan::Gradient::operator==().

Color clan::Color::brown
| static

rgb(165, 42, 42).

Colorf clan::Colorf::brown
| static

rgb(165, 42, 42).

Color clan::Color::burlywood
| static

rgb(222, 184, 135).

Colorf clan::Colorf::burlywood
| static

rgb(222, 184, 135).

Color clan::Color::cadetblue
| static

rgb( 95, 158, 160).

Colorf clan::Colorf::cadetblue
| static

rgb( 95, 158, 160).

Color clan::Color::chartreuse
| static

rgb(127, 255, 0).

Colorf clan::Colorf::chartreuse
| static

rgb(127, 255, 0).

Color clan::Color::chocolate
| static

rgb(210, 105, 30).

Colorf clan::Colorf::chocolate
| static

rgb(210, 105, 30).

Color clan::Color::coral
| static

rgb(255, 127, 80).

Colorf clan::Colorf::coral
| static

rgb(255, 127, 80).

Color clan::Color::cornflowerblue
| static

rgb(100, 149, 237).

Colorf clan::Colorf::cornflowerblue
| static

rgb(100, 149, 237).

Color clan::Color::cornsilk
| static

rgb(255, 248, 220).

Colorf clan::Colorf::cornsilk
| static

rgb(255, 248, 220).

Color clan::Color::crimson
| static

rgb(220, 20, 60).

Colorf clan::Colorf::crimson
| static

rgb(220, 20, 60).

Color clan::Color::cyan
| static

rgb( 0, 255, 255).

Colorf clan::Colorf::cyan
| static

rgb( 0, 255, 255).

Color clan::Color::darkblue
| static

rgb( 0, 0, 139).

Colorf clan::Colorf::darkblue
| static

rgb( 0, 0, 139).

Color clan::Color::darkcyan
| static

rgb( 0, 139, 139).

Colorf clan::Colorf::darkcyan
| static

rgb( 0, 139, 139).

Color clan::Color::darkgoldenrod
| static

rgb(184, 134, 11).

Colorf clan::Colorf::darkgoldenrod
| static

rgb(184, 134, 11).

Color clan::Color::darkgray
| static

rgb(169, 169, 169).

Colorf clan::Colorf::darkgray
| static

rgb(169, 169, 169).

Color clan::Color::darkgreen
| static

rgb( 0, 100, 0).

Colorf clan::Colorf::darkgreen
| static

rgb( 0, 100, 0).

Color clan::Color::darkgrey
| static

rgb(169, 169, 169).

Colorf clan::Colorf::darkgrey
| static

rgb(169, 169, 169).

Color clan::Color::darkkhaki
| static

rgb(189, 183, 107).

Colorf clan::Colorf::darkkhaki
| static

rgb(189, 183, 107).

Color clan::Color::darkmagenta
| static

rgb(139, 0, 139).

Colorf clan::Colorf::darkmagenta
| static

rgb(139, 0, 139).

Color clan::Color::darkolivegreen
| static

rgb( 85, 107, 47).

Colorf clan::Colorf::darkolivegreen
| static

rgb( 85, 107, 47).

Color clan::Color::darkorange
| static

rgb(255, 140, 0).

Colorf clan::Colorf::darkorange
| static

rgb(255, 140, 0).

Color clan::Color::darkorchid
| static

rgb(153, 50, 204).

Colorf clan::Colorf::darkorchid
| static

rgb(153, 50, 204).

Color clan::Color::darkred
| static

rgb(139, 0, 0).

Colorf clan::Colorf::darkred
| static

rgb(139, 0, 0).

Color clan::Color::darksalmon
| static

rgb(233, 150, 122).

Colorf clan::Colorf::darksalmon
| static

rgb(233, 150, 122).

Color clan::Color::darkseagreen
| static

rgb(143, 188, 143).

Colorf clan::Colorf::darkseagreen
| static

rgb(143, 188, 143).

Color clan::Color::darkslateblue
| static

rgb( 72, 61, 139).

Colorf clan::Colorf::darkslateblue
| static

rgb( 72, 61, 139).

Color clan::Color::darkslategray
| static

rgb( 47, 79, 79).

Colorf clan::Colorf::darkslategray
| static

rgb( 47, 79, 79).

Color clan::Color::darkslategrey
| static

rgb( 47, 79, 79).

Colorf clan::Colorf::darkslategrey
| static

rgb( 47, 79, 79).

Color clan::Color::darkturquoise
| static

rgb( 0, 206, 209).

Colorf clan::Colorf::darkturquoise
| static

rgb( 0, 206, 209).

Color clan::Color::darkviolet
| static

rgb(148, 0, 211).

Colorf clan::Colorf::darkviolet
| static

rgb(148, 0, 211).

Color clan::Color::deeppink
| static

rgb(255, 20, 147).

Colorf clan::Colorf::deeppink
| static

rgb(255, 20, 147).

Color clan::Color::deepskyblue
| static

rgb( 0, 191, 255).

Colorf clan::Colorf::deepskyblue
| static

rgb( 0, 191, 255).

double clan::CursorDescriptionFrame::delay

Color clan::Color::dimgray
| static

rgb(105, 105, 105).

Colorf clan::Colorf::dimgray
| static

rgb(105, 105, 105).

Color clan::Color::dimgrey
| static

rgb(105, 105, 105).

Colorf clan::Colorf::dimgrey
| static

rgb(105, 105, 105).

Color clan::Color::dodgerblue
| static

rgb( 30, 144, 255).

Colorf clan::Colorf::dodgerblue
| static

rgb( 30, 144, 255).

Color clan::Color::firebrick
| static

rgb(178, 34, 34).

Colorf clan::Colorf::firebrick
| static

rgb(178, 34, 34).

Color clan::Color::floralwhite
| static

rgb(255, 250, 240).

Colorf clan::Colorf::floralwhite
| static

rgb(255, 250, 240).

Color clan::Color::forestgreen
| static

rgb( 34, 139, 34).

Colorf clan::Colorf::forestgreen
| static

rgb( 34, 139, 34).

Color clan::Color::fuchsia
| static

rgb(255, 0, 255).

Colorf clan::Colorf::fuchsia
| static

rgb(255, 0, 255).

Color clan::Color::gainsboro
| static

rgb(220, 220, 220).

Colorf clan::Colorf::gainsboro
| static

rgb(220, 220, 220).

Color clan::Color::ghostwhite
| static

rgb(248, 248, 255).

Colorf clan::Colorf::ghostwhite
| static

rgb(248, 248, 255).

Color clan::Color::gold
| static

rgb(255, 215, 0).

Colorf clan::Colorf::gold
| static

rgb(255, 215, 0).

Color clan::Color::goldenrod
| static

rgb(218, 165, 32).

Colorf clan::Colorf::goldenrod
| static

rgb(218, 165, 32).

Color clan::Color::gray
| static

rgb(128, 128, 128).

Colorf clan::Colorf::gray
| static

rgb(128, 128, 128).

Color clan::Color::gray10
| static

Colorf clan::Colorf::gray10
| static

Color clan::Color::gray20
| static

Colorf clan::Colorf::gray20
| static

Color clan::Color::gray30
| static

Colorf clan::Colorf::gray30
| static

Color clan::Color::gray40
| static

Colorf clan::Colorf::gray40
| static

Color clan::Color::gray50
| static

Colorf clan::Colorf::gray50
| static

Color clan::Color::gray60
| static

Colorf clan::Colorf::gray60
| static

Color clan::Color::gray70
| static

Colorf clan::Colorf::gray70
| static

Color clan::Color::gray80
| static

Colorf clan::Colorf::gray80
| static

Color clan::Color::gray90
| static

Colorf clan::Colorf::gray90
| static

Color clan::Color::green
| static

rgb( 0, 128, 0).

Colorf clan::Colorf::green
| static

rgb( 0, 128, 0).

Color clan::Color::greenyellow
| static

rgb(173, 255, 47).

Colorf clan::Colorf::greenyellow
| static

rgb(173, 255, 47).

Color clan::Color::grey
| static

rgb(128, 128, 128).

Colorf clan::Colorf::grey
| static

rgb(128, 128, 128).

template<typename Type, typename ColorType>

Type clan::ColorHSVx< Type, ColorType >::h

Referenced by clan::ColorHSVx< Type, ColorType >::ColorHSVx(), clan::ColorHSVx< Type, ColorType >::operator!=(), clan::ColorHSVx< Type, ColorType >::operator=(), and clan::ColorHSVx< Type, ColorType >::operator==().

template<typename Type, typename ColorType>

Type clan::ColorHSLx< Type, ColorType >::h

Referenced by clan::ColorHSLx< Type, ColorType >::ColorHSLx(), clan::ColorHSLx< Type, ColorType >::operator!=(), clan::ColorHSLx< Type, ColorType >::operator=(), and clan::ColorHSLx< Type, ColorType >::operator==().

Color clan::Color::honeydew
| static

rgb(240, 255, 240).

Colorf clan::Colorf::honeydew
| static

rgb(240, 255, 240).

Color clan::Color::hotpink
| static

rgb(255, 105, 180).

Colorf clan::Colorf::hotpink
| static

rgb(255, 105, 180).

Color clan::Color::indianred
| static

rgb(205, 92, 92).

Colorf clan::Colorf::indianred
| static

rgb(205, 92, 92).

Color clan::Color::indigo
| static

rgb( 75, 0, 130).

Colorf clan::Colorf::indigo
| static

rgb( 75, 0, 130).

Color clan::Color::ivory
| static

rgb(255, 255, 240).

Colorf clan::Colorf::ivory
| static

rgb(255, 255, 240).

Color clan::Color::khaki
| static

rgb(240, 230, 140).

Colorf clan::Colorf::khaki
| static

rgb(240, 230, 140).

template<typename Type, typename ColorType>

Type clan::ColorHSLx< Type, ColorType >::l

Referenced by clan::ColorHSLx< Type, ColorType >::ColorHSLx(), clan::ColorHSLx< Type, ColorType >::operator!=(), clan::ColorHSLx< Type, ColorType >::operator=(), and clan::ColorHSLx< Type, ColorType >::operator==().

Color clan::Color::lavender
| static

rgb(230, 230, 250).

Colorf clan::Colorf::lavender
| static

rgb(230, 230, 250).

Color clan::Color::lavenderblush
| static

rgb(255, 240, 245).

Colorf clan::Colorf::lavenderblush
| static

rgb(255, 240, 245).

Color clan::Color::lawngreen
| static

rgb(124, 252, 0).

Colorf clan::Colorf::lawngreen
| static

rgb(124, 252, 0).

Color clan::Color::lemonchiffon
| static

rgb(255, 250, 205).

Colorf clan::Colorf::lemonchiffon
| static

rgb(255, 250, 205).

Color clan::Color::lightblue
| static

rgb(173, 216, 230).

Colorf clan::Colorf::lightblue
| static

rgb(173, 216, 230).

Color clan::Color::lightcoral
| static

rgb(240, 128, 128).

Colorf clan::Colorf::lightcoral
| static

rgb(240, 128, 128).

Color clan::Color::lightcyan
| static

rgb(224, 255, 255).

Colorf clan::Colorf::lightcyan
| static

rgb(224, 255, 255).

Color clan::Color::lightgoldenrodyellow
| static

rgb(250, 250, 210).

Colorf clan::Colorf::lightgoldenrodyellow
| static

rgb(250, 250, 210).

Color clan::Color::lightgray
| static

rgb(211, 211, 211).

Colorf clan::Colorf::lightgray
| static

rgb(211, 211, 211).

Color clan::Color::lightgreen
| static

rgb(144, 238, 144).

Colorf clan::Colorf::lightgreen
| static

rgb(144, 238, 144).

Color clan::Color::lightgrey
| static

rgb(211, 211, 211).

Colorf clan::Colorf::lightgrey
| static

rgb(211, 211, 211).

Color clan::Color::lightpink
| static

rgb(255, 182, 193).

Colorf clan::Colorf::lightpink
| static

rgb(255, 182, 193).

Color clan::Color::lightsalmon
| static

rgb(255, 160, 122).

Colorf clan::Colorf::lightsalmon
| static

rgb(255, 160, 122).

Color clan::Color::lightseagreen
| static

rgb( 32, 178, 170).

Colorf clan::Colorf::lightseagreen
| static

rgb( 32, 178, 170).

Color clan::Color::lightskyblue
| static

rgb(135, 206, 250).

Colorf clan::Colorf::lightskyblue
| static

rgb(135, 206, 250).

Color clan::Color::lightslategray
| static

rgb(119, 136, 153).

Colorf clan::Colorf::lightslategray
| static

rgb(119, 136, 153).

Color clan::Color::lightslategrey
| static

rgb(119, 136, 153).

Colorf clan::Colorf::lightslategrey
| static

rgb(119, 136, 153).

Color clan::Color::lightsteelblue
| static

rgb(176, 196, 222).

Colorf clan::Colorf::lightsteelblue
| static

rgb(176, 196, 222).

Color clan::Color::lightyellow
| static

rgb(255, 255, 224).

Colorf clan::Colorf::lightyellow
| static

rgb(255, 255, 224).

Color clan::Color::lime
| static

rgb( 0, 255, 0).

Colorf clan::Colorf::lime
| static

rgb( 0, 255, 0).

Color clan::Color::limegreen
| static

rgb( 50, 205, 50).

Colorf clan::Colorf::limegreen
| static

rgb( 50, 205, 50).

Color clan::Color::linen
| static

rgb(250, 240, 230).

Colorf clan::Colorf::linen
| static

rgb(250, 240, 230).

Color clan::Color::magenta
| static

rgb(255, 0, 255).

Colorf clan::Colorf::magenta
| static

rgb(255, 0, 255).

Color clan::Color::maroon
| static

rgb(128, 0, 0).

Colorf clan::Colorf::maroon
| static

rgb(128, 0, 0).

Color clan::Color::mediumaquamarine
| static

rgb(102, 205, 170).

Colorf clan::Colorf::mediumaquamarine
| static

rgb(102, 205, 170).

Color clan::Color::mediumblue
| static

rgb( 0, 0, 205).

Colorf clan::Colorf::mediumblue
| static

rgb( 0, 0, 205).

Color clan::Color::mediumorchid
| static

rgb(186, 85, 211).

Colorf clan::Colorf::mediumorchid
| static

rgb(186, 85, 211).

Color clan::Color::mediumpurple
| static

rgb(147, 112, 219).

Colorf clan::Colorf::mediumpurple
| static

rgb(147, 112, 219).

Color clan::Color::mediumseagreen
| static

rgb( 60, 179, 113).

Colorf clan::Colorf::mediumseagreen
| static

rgb( 60, 179, 113).

Color clan::Color::mediumslateblue
| static

rgb(123, 104, 238).

Colorf clan::Colorf::mediumslateblue
| static

rgb(123, 104, 238).

Color clan::Color::mediumspringgreen
| static

rgb( 0, 250, 154).

Colorf clan::Colorf::mediumspringgreen
| static

rgb( 0, 250, 154).

Color clan::Color::mediumturquoise
| static

rgb( 72, 209, 204).

Colorf clan::Colorf::mediumturquoise
| static

rgb( 72, 209, 204).

Color clan::Color::mediumvioletred
| static

rgb(199, 21, 133).

Colorf clan::Colorf::mediumvioletred
| static

rgb(199, 21, 133).

Color clan::Color::midnightblue
| static

rgb( 25, 25, 112).

Colorf clan::Colorf::midnightblue
| static

rgb( 25, 25, 112).

Color clan::Color::mintcream
| static

rgb(245, 255, 250).

Colorf clan::Colorf::mintcream
| static

rgb(245, 255, 250).

Color clan::Color::mistyrose
| static

rgb(255, 228, 225).

Colorf clan::Colorf::mistyrose
| static

rgb(255, 228, 225).

Color clan::Color::moccasin
| static

rgb(255, 228, 181).

Colorf clan::Colorf::moccasin
| static

rgb(255, 228, 181).

Color clan::Color::navajowhite
| static

rgb(255, 222, 173).

Colorf clan::Colorf::navajowhite
| static

rgb(255, 222, 173).

Color clan::Color::navy
| static

rgb( 0, 0, 128).

Colorf clan::Colorf::navy
| static

rgb( 0, 0, 128).

int clan::SpanLayout::HitTestResult::object_id

int clan::SpanLayout::HitTestResult::offset

Color clan::Color::oldlace
| static

rgb(253, 245, 230).

Colorf clan::Colorf::oldlace
| static

rgb(253, 245, 230).

Color clan::Color::olive
| static

rgb(128, 128, 0).

Colorf clan::Colorf::olive
| static

rgb(128, 128, 0).

Color clan::Color::olivedrab
| static

rgb(107, 142, 35).

Colorf clan::Colorf::olivedrab
| static

rgb(107, 142, 35).

Color clan::Color::orange
| static

rgb(255, 165, 0).

Colorf clan::Colorf::orange
| static

rgb(255, 165, 0).

Color clan::Color::orangered
| static

rgb(255, 69, 0).

Colorf clan::Colorf::orangered
| static

rgb(255, 69, 0).

Color clan::Color::orchid
| static

rgb(218, 112, 214).

Colorf clan::Colorf::orchid
| static

rgb(218, 112, 214).

Color clan::Color::palegoldenrod
| static

rgb(238, 232, 170).

Colorf clan::Colorf::palegoldenrod
| static

rgb(238, 232, 170).

Color clan::Color::palegreen
| static

rgb(152, 251, 152).

Colorf clan::Colorf::palegreen
| static

rgb(152, 251, 152).

Color clan::Color::paleturquoise
| static

rgb(175, 238, 238).

Colorf clan::Colorf::paleturquoise
| static

rgb(175, 238, 238).

Color clan::Color::palevioletred
| static

rgb(219, 112, 147).

Colorf clan::Colorf::palevioletred
| static

rgb(219, 112, 147).

Color clan::Color::papayawhip
| static

rgb(255, 239, 213).

Colorf clan::Colorf::papayawhip
| static

rgb(255, 239, 213).

Color clan::Color::peachpuff
| static

rgb(255, 218, 185).

Colorf clan::Colorf::peachpuff
| static

rgb(255, 218, 185).

Color clan::Color::peru
| static

rgb(205, 133, 63).

Colorf clan::Colorf::peru
| static

rgb(205, 133, 63).

Color clan::Color::pink
| static

rgb(255, 192, 203).

Colorf clan::Colorf::pink
| static

rgb(255, 192, 203).

PixelBuffer clan::CursorDescriptionFrame::pixelbuffer

Color clan::Color::plum
| static

rgb(221, 160, 221).

Colorf clan::Colorf::plum
| static

rgb(221, 160, 221).

Color clan::Color::powderblue
| static

rgb(176, 224, 230).

Colorf clan::Colorf::powderblue
| static

rgb(176, 224, 230).

Color clan::Color::purple
| static

rgb(128, 0, 128).

Colorf clan::Colorf::purple
| static

rgb(128, 0, 128).

Rect clan::CursorDescriptionFrame::rect

Color clan::Color::red
| static

rgb(255, 0, 0).

Colorf clan::Colorf::red
| static

rgb(255, 0, 0).

Color clan::Color::rosybrown
| static

rgb(188, 143, 143).

Colorf clan::Colorf::rosybrown
| static

rgb(188, 143, 143).

Color clan::Color::royalblue
| static

rgb( 65, 105, 225).

Colorf clan::Colorf::royalblue
| static

rgb( 65, 105, 225).

template<typename Type, typename ColorType>

Type clan::ColorHSVx< Type, ColorType >::s

Referenced by clan::ColorHSVx< Type, ColorType >::ColorHSVx(), clan::ColorHSVx< Type, ColorType >::operator!=(), clan::ColorHSVx< Type, ColorType >::operator=(), and clan::ColorHSVx< Type, ColorType >::operator==().

template<typename Type, typename ColorType>

Type clan::ColorHSLx< Type, ColorType >::s

Referenced by clan::ColorHSLx< Type, ColorType >::ColorHSLx(), clan::ColorHSLx< Type, ColorType >::operator!=(), clan::ColorHSLx< Type, ColorType >::operator=(), and clan::ColorHSLx< Type, ColorType >::operator==().

Color clan::Color::saddlebrown
| static

rgb(139, 69, 19).

Colorf clan::Colorf::saddlebrown
| static

rgb(139, 69, 19).

Color clan::Color::salmon
| static

rgb(250, 128, 114).

Colorf clan::Colorf::salmon
| static

rgb(250, 128, 114).

Color clan::Color::sandybrown
| static

rgb(244, 164, 96).

Colorf clan::Colorf::sandybrown
| static

rgb(244, 164, 96).

Color clan::Color::seagreen
| static

rgb( 46, 139, 87).

Colorf clan::Colorf::seagreen
| static

rgb( 46, 139, 87).

Color clan::Color::seashell
| static

rgb(255, 245, 238).

Colorf clan::Colorf::seashell
| static

rgb(255, 245, 238).

Color clan::Color::sienna
| static

rgb(160, 82, 45).

Colorf clan::Colorf::sienna
| static

rgb(160, 82, 45).

Color clan::Color::silver
| static

rgb(192, 192, 192).

Colorf clan::Colorf::silver
| static

rgb(192, 192, 192).

Color clan::Color::skyblue
| static

rgb(135, 206, 235).

Colorf clan::Colorf::skyblue
| static

rgb(135, 206, 235).

Color clan::Color::slateblue
| static

rgb(106, 90, 205).

Colorf clan::Colorf::slateblue
| static

rgb(106, 90, 205).

Color clan::Color::slategray
| static

rgb(112, 128, 144).

Colorf clan::Colorf::slategray
| static

rgb(112, 128, 144).

Color clan::Color::slategrey
| static

rgb(112, 128, 144).

Colorf clan::Colorf::slategrey
| static

rgb(112, 128, 144).

Color clan::Color::snow
| static

rgb(255, 250, 250).

Colorf clan::Colorf::snow
| static

rgb(255, 250, 250).

Color clan::Color::springgreen
| static

rgb( 0, 255, 127).

Colorf clan::Colorf::springgreen
| static

rgb( 0, 255, 127).

Color clan::Color::steelblue
| static

rgb( 70, 130, 180).

Colorf clan::Colorf::steelblue
| static

rgb( 70, 130, 180).

Color clan::Color::tan
| static

rgb(210, 180, 140).

Colorf clan::Colorf::tan
| static

rgb(210, 180, 140).

Color clan::Color::teal
| static

rgb( 0, 128, 128).

Colorf clan::Colorf::teal
| static

rgb( 0, 128, 128).

Color clan::Color::thistle
| static

rgb(216, 191, 216).

Colorf clan::Colorf::thistle
| static

rgb(216, 191, 216).

Color clan::Color::tomato
| static

rgb(255, 99, 71).

Colorf clan::Colorf::tomato
| static

rgb(255, 99, 71).

Colorf clan::Gradient::top_left

Color of top left corner of gradient.

Referenced by clan::Gradient::operator==().

Colorf clan::Gradient::top_right

Color of top right corner of gradient.

Referenced by clan::Gradient::operator==().

Color clan::Color::transparent
| static

rgba(0, 0, 0, 0).

Colorf clan::Colorf::transparent
| static

rgba(0, 0, 0, 0).

Color clan::Color::turquoise
| static

rgb( 64, 224, 208).

Colorf clan::Colorf::turquoise
| static

rgb( 64, 224, 208).

enum clan::SpanLayout::HitTestResult::Type clan::SpanLayout::HitTestResult::type

template<typename Type, typename ColorType>

Type clan::ColorHSVx< Type, ColorType >::v

Referenced by clan::ColorHSVx< Type, ColorType >::ColorHSVx(), clan::ColorHSVx< Type, ColorType >::operator!=(), clan::ColorHSVx< Type, ColorType >::operator=(), and clan::ColorHSVx< Type, ColorType >::operator==().

Color clan::Color::violet
| static

rgb(238, 130, 238).

Colorf clan::Colorf::violet
| static

rgb(238, 130, 238).

Color clan::Color::wheat
| static

rgb(245, 222, 179).

Colorf clan::Colorf::wheat
| static

rgb(245, 222, 179).

Color clan::Color::white
| static

rgb(255, 255, 255).

Colorf clan::Colorf::white
| static

rgb(255, 255, 255).

Color clan::Color::whitesmoke
| static

rgb(245, 245, 245).

Colorf clan::Colorf::whitesmoke
| static

rgb(245, 245, 245).

Color clan::Color::yellow
| static

rgb(255, 255, 0).

Colorf clan::Colorf::yellow
| static

rgb(255, 255, 0).

Color clan::Color::yellowgreen
| static

rgb(154, 205, 50).

Colorf clan::Colorf::yellowgreen
| static

rgb(154, 205, 50).

## Friends

friend class FontFamily_Impl
| friend