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, Colorfclan::ColorHSLd
 
typedef ColorHSLx< float, Colorfclan::ColorHSLf
 
typedef ColorHSLx< int, Colorclan::ColorHSLi
 
typedef ColorHSVx< double, Colorfclan::ColorHSVd
 
typedef ColorHSVx< float, Colorfclan::ColorHSVf
 
typedef ColorHSVx< int, Colorclan::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< Imageclan::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< Rectclan::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< Spriteclan::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

Spriteclan::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< Texture2Dclan::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

CursorDescriptionclan::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

◆ ColorHSLd

typedef ColorHSLx<double, Colorf> clan::ColorHSLd

◆ ColorHSLf

typedef ColorHSLx<float, Colorf> clan::ColorHSLf

◆ ColorHSLi

◆ ColorHSVd

typedef ColorHSVx<double, Colorf> clan::ColorHSVd

◆ ColorHSVf

typedef ColorHSVx<float, Colorf> clan::ColorHSVf

◆ ColorHSVi

Enumeration Type Documentation

◆ ShowOnFinish

Enumerator
show_blank 
show_last_frame 
show_first_frame 

◆ SpanAlign

Span Align.

Enumerator
span_left 
span_right 
span_center 
span_justify 

◆ TextureAllocationPolicy

Texture allocation policy.

Enumerator
create_new_texture 
search_previous_textures 

◆ Type

Enumerator
no_objects_available 
outside_top 
outside_left 
outside_right 
outside_bottom 
inside 

Function Documentation

◆ Color() [1/4]

clan::Color::Color ( )
inline

Constructs a color.

◆ Color() [2/4]

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

◆ Color() [3/4]

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
hexstrThe colors rgba components as a hexadecimal string of the format "#rrggbbaa", where the '#' and "aa" parts are optional.

◆ Color() [4/4]

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
redRed color component.
greenGreen color component.
blueBlue color component.
alphaAlpha (transparency) color component.

◆ Colorf() [1/8]

clan::Colorf::Colorf ( )
inline

Constructs a color.

References clan::f.

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

◆ Colorf() [2/8]

clan::Colorf::Colorf ( const Color color)
inlineexplicit

References clan::color, and clan::f.

◆ Colorf() [3/8]

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.

◆ Colorf() [4/8]

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
hexstrThe 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().

◆ Colorf() [5/8]

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

Constructs a color.

Parameters
color= The color

References clan::color.

◆ Colorf() [6/8]

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.

◆ Colorf() [7/8]

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.

References clan::f.

◆ Colorf() [8/8]

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.

References clan::f.

◆ ColorHSLx() [1/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( )
inline

Constructs a color.

◆ ColorHSLx() [2/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( const Color color)

◆ ColorHSLx() [3/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( const Colorf color)

◆ ColorHSLx() [4/5]

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

◆ ColorHSLx() [5/5]

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

◆ ColorHSVx() [1/5]

template<typename Type , typename ColorType >
clan::ColorHSVx< Type, ColorType >::ColorHSVx ( )
inline

Constructs a color.

◆ ColorHSVx() [2/5]

template<typename Type , typename ColorType >
clan::ColorHSVx< Type, ColorType >::ColorHSVx ( const Color color)

◆ ColorHSVx() [3/5]

template<typename Type , typename ColorType >
clan::ColorHSVx< Type, ColorType >::ColorHSVx ( const Colorf color)

◆ ColorHSVx() [4/5]

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

◆ ColorHSVx() [5/5]

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

◆ CursorDescription() [1/2]

clan::CursorDescription::CursorDescription ( )

Constructs a cursor description.

◆ CursorDescription() [2/2]

clan::CursorDescription::CursorDescription ( const CursorDescription copy)

Constructs a CursorDescription.

Parameters
copy= Cursor Description

◆ CursorDescriptionFrame()

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

Constructs a CursorDescriptionFrame.

Parameters
pixelbuffer= Pixel Buffer
rect= Rect

◆ Gradient() [1/3]

clan::Gradient::Gradient ( )
inline

Constructs a color gradient.

◆ Gradient() [2/3]

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

Constructs a Gradient.

Parameters
first_color= Colorf
second_color= Colorf

◆ Gradient() [3/3]

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_leftTop left color component.
top_rightTop right color component.
bottom_leftBottom left color component.
bottom_rightBottom right color component.

◆ HitTestResult()

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

◆ Image() [1/6]

clan::Image::Image ( )

Constructs a null instance.

◆ Image() [2/6]

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

◆ Image() [3/6]

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

Constructs a Image.

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

◆ Image() [4/6]

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

Constructs a Image.

Parameters
canvas= Canvas
filenameFilename of image to load
import_desc= Image Import Description

◆ Image() [5/6]

clan::Image::Image ( Subtexture sub_texture)

Constructs an image from a subtexture.

Parameters
sub_texture= Subtexture to get image data from

◆ Image() [6/6]

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

◆ SpanLayout()

clan::SpanLayout::SpanLayout ( )

◆ Sprite() [1/5]

clan::Sprite::Sprite ( )

Constructs a null instance.

◆ Sprite() [2/5]

clan::Sprite::Sprite ( Canvas canvas)

Constructs an empty Sprite.

Parameters
gc= Graphic Context

◆ Sprite() [3/5]

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

◆ Sprite() [4/5]

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

Constructs a Sprite.

Parameters
canvas= Canvas
fullname= String Ref

◆ Sprite() [5/5]

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

◆ Subtexture() [1/2]

clan::Subtexture::Subtexture ( )

Constructs a null instance.

◆ Subtexture() [2/2]

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

Constructs a Subtexture.

Parameters
texture= Texture
geometry= Rect

◆ TextureGroup() [1/2]

clan::TextureGroup::TextureGroup ( )

Constructs a null instance.

◆ TextureGroup() [2/2]

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

Constructs a texture group.

◆ ~CursorDescription()

clan::CursorDescription::~CursorDescription ( )

◆ ~Image()

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

◆ ~SpanLayout()

clan::SpanLayout::~SpanLayout ( )

◆ ~Sprite()

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

◆ ~Subtexture()

clan::Subtexture::~Subtexture ( )

◆ ~TextureGroup()

clan::TextureGroup::~TextureGroup ( )

◆ add()

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

Allocate space for another sub texture.

◆ add_alphaclipped_frames() [1/2]

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
pixelbufferImage source.
textureImage source.
xpos,yposUpper left position where alpha cutting should begin.
trans_limitAmount of non-transparent alpha allowed before a pixel is not considered transparent.

◆ add_alphaclipped_frames() [2/2]

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
pixelbufferImage source.
textureImage source.
xpos,yposUpper left position where alpha cutting should begin.
trans_limitAmount of non-transparent alpha allowed before a pixel is not considered transparent.

◆ add_alphaclipped_frames_free() [1/2]

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
pixelbufferImage source.
textureImage source.
xpos,yposUpper left position where alpha cutting should begin.
trans_limitAmount of non-transparent alpha allowed before a pixel is not considered transparent.

◆ add_alphaclipped_frames_free() [2/2]

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
pixelbufferImage source.
textureImage source.
xpos,yposUpper left position where alpha cutting should begin.
trans_limitAmount of non-transparent alpha allowed before a pixel is not considered transparent.

◆ add_component()

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

◆ add_frame() [1/9]

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

◆ add_frame() [2/9]

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

Add frame.

Parameters
fullname= String Ref

◆ add_frame() [3/9]

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

◆ add_frame() [4/9]

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

Adds a single image.

Parameters
pixelbufferImage source.
filenameFilename of image.
vfsVirtual File System to load image from.

◆ add_frame() [5/9]

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

◆ add_frame() [6/9]

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

Add frame.

Parameters
fullname= String Ref

◆ add_frame() [7/9]

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

Add frame.

Parameters
texture= Texture

◆ add_frame() [8/9]

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

Add frame.

Parameters
texture= Texture
frame= Rect

◆ add_frame() [9/9]

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

◆ add_frames()

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

Add frames.

Parameters
texture= Texture
frames= Rect
num_frames= value

◆ add_gridclipped_frames() [1/2]

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
pixelbufferImage source.
textureImage source.
xpos,yposPosition of where image grid starts.
width,heightSize of a frame in the grid.
xarray,yarrayNumber of columns and rows in grid.
array_skipframesNumber of frames to skip at last gridline.
xspacing,yspacingPixel interspacing between grid frames.

◆ add_gridclipped_frames() [2/2]

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
pixelbufferImage source.
textureImage source.
xpos,yposPosition of where image grid starts.
width,heightSize of a frame in the grid.
xarray,yarrayNumber of columns and rows in grid.
array_skipframesNumber of frames to skip at last gridline.
xspacing,yspacingPixel interspacing between grid frames.

◆ add_image()

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

◆ add_text()

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

◆ clear()

void clan::SpanLayout::clear ( )

Clear.

◆ clone() [1/2]

Image clan::Image::clone ( ) const

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

◆ clone() [2/2]

Sprite clan::Sprite::clone ( ) const

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

◆ draw() [1/9]

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

Draw image on graphic context.

Parameters
gcGraphic context on which to render upon.
destQuad to draw image in.

◆ draw() [2/9]

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

◆ draw() [3/9]

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

Draw image on graphic context.

Parameters
gcGraphic context on which to render upon.
destRectangle to draw image in.

◆ draw() [4/9]

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

Draw image on graphic context.

Parameters
gcGraphic context on which to render upon.
srcSource rectangle to draw. Use this is draw only part of the image.
destQuad to draw image in.

◆ draw() [5/9]

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

◆ draw() [6/9]

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

Draw image on graphic context.

Parameters
gcGraphic context on which to render upon.
srcSource rectangle to draw. Use this is draw only part of the image.
destRectangle to draw image in.

◆ draw() [7/9]

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

Draw sprite on graphic context.

Parameters
x,yAnchor position of where to render sprite. Actual rendering position depends on the anchor and the alignment mode.
gcGraphic context on which to render upon. If null, will use Display's current graphic context.
srcSource rectangle to draw. Use this is draw only part of the sprite.
destRectangle to draw sprite in.

◆ draw() [8/9]

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

Draw image on graphic context.

Parameters
x,yAnchor position of where to render image. Actual rendering position depends on the anchor and the alignment mode.
gcGraphic context on which to render upon.

◆ draw() [9/9]

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

◆ draw_layout()

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

Draw layout.

Parameters
canvas= Canvas

◆ draw_layout_ellipsis()

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

◆ find_color()

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

Find and returns the static color matching a string.

Parameters
nameName 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().

◆ find_preferred_size()

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

Find preferred size.

Parameters
canvas= Canvas
Returns
Size

◆ finish()

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

◆ get_abgr8()

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.

◆ get_alignment() [1/2]

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

Returns translation hot-spot.

◆ get_alignment() [2/2]

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

Returns translation hot-spot.

◆ get_alpha() [1/4]

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

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

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

◆ get_alpha() [2/4]

float clan::Sprite::get_alpha ( ) const

Returns current alpha.

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

◆ get_alpha() [3/4]

float clan::Image::get_alpha ( ) const

Returns current alpha.

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

◆ get_alpha() [4/4]

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

Get Alpha.

Returns
alpha

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

◆ get_alpha_f()

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

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

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

◆ get_angle()

Angle clan::Sprite::get_angle ( ) const

Returns current angle in degrees.

◆ get_argb8()

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.

◆ get_base_angle()

Angle clan::Sprite::get_base_angle ( ) const

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

◆ get_bgra8()

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.

◆ get_blue() [1/2]

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

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

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

◆ get_blue() [2/2]

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

Get Blue.

Returns
blue

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

◆ get_blue_f()

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

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

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

◆ get_color() [1/2]

Colorf clan::Sprite::get_color ( ) const

Returns current color.

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

◆ get_color() [2/2]

Colorf clan::Image::get_color ( ) const

Returns current color.

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

◆ get_combined_text()

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

Get Combined text.

Returns
combined_text

◆ get_current_frame()

int clan::Sprite::get_current_frame ( ) const

Returns current frame in animation. 0 is first frame.

◆ get_first_baseline_offset()

int clan::SpanLayout::get_first_baseline_offset ( )

Returns the baseline offset for the first baseline.

◆ get_frame_count()

int clan::Sprite::get_frame_count ( ) const

Returns number of frames in animation.

◆ get_frame_delay()

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

◆ get_frame_offset()

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

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

◆ get_frame_size()

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

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

◆ get_frame_texture()

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

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

◆ get_frames()

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

Returns a list over all available frames.

◆ get_geometry()

Rect clan::Subtexture::get_geometry ( ) const

Returns the part of the texture used by this object.

◆ get_green() [1/2]

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

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

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

◆ get_green() [2/2]

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

Get Green.

Returns
green

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

◆ get_green_f()

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

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

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

◆ get_height() [1/2]

float clan::Image::get_height ( ) const

Return the height of the image.

◆ get_height() [2/2]

int clan::Sprite::get_height ( ) const

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

◆ get_hotspot()

Point clan::CursorDescription::get_hotspot ( ) const

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

◆ get_id()

int clan::Sprite::get_id ( ) const

Returns the attached id (if exists).

◆ get_last_baseline_offset()

int clan::SpanLayout::get_last_baseline_offset ( )

Returns the baseline offset for the last baseline.

◆ get_linear_filter()

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.

◆ get_names()

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

Returns the names of static colors defined.

◆ get_rect()

Rect clan::SpanLayout::get_rect ( ) const

Get Rect.

Returns
rect

◆ get_rect_by_id()

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

Get Rect By Id.

Returns
rect

◆ get_red() [1/2]

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

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

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

◆ get_red() [2/2]

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

Get Red.

Returns
red

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

◆ get_red_f()

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

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

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

◆ get_rgba8()

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.

◆ get_rotation_hotspot()

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

Returns rotation hot-spot.

◆ get_scale()

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.

◆ get_scale_x()

float clan::Image::get_scale_x ( ) const

Returns x scale.

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

◆ get_scale_y()

float clan::Image::get_scale_y ( ) const

Returns y scale.

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

◆ get_show_on_finish()

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.

◆ get_size() [1/3]

Size clan::SpanLayout::get_size ( ) const

Get Size.

Returns
size

◆ get_size() [2/3]

Sizef clan::Image::get_size ( ) const

Return the size of the image.

◆ get_size() [3/3]

Size clan::Sprite::get_size ( ) const

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

◆ get_subtexture_count() [1/2]

int clan::TextureGroup::get_subtexture_count ( ) const

Returns the amount of sub-textures allocated in group.

◆ get_subtexture_count() [2/2]

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

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

◆ get_texture() [1/2]

Texture2D clan::Subtexture::get_texture ( )

Returns the texture.

◆ get_texture() [2/2]

Subtexture clan::Image::get_texture ( ) const

Return the texture of the image.

◆ get_texture_allocation_policy()

TextureAllocationPolicy clan::TextureGroup::get_texture_allocation_policy ( ) const

Returns the texture allocation policy.

◆ get_texture_count()

int clan::TextureGroup::get_texture_count ( ) const

Returns the amount of textures used by group.

◆ get_texture_sizes()

Size clan::TextureGroup::get_texture_sizes ( ) const

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

◆ get_textures()

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

Returns the textures.

◆ get_width() [1/2]

float clan::Image::get_width ( ) const

Return the width of the image.

◆ get_width() [2/2]

int clan::Sprite::get_width ( ) const

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

◆ hide_cursor()

void clan::SpanLayout::hide_cursor ( )

Hides the cursor caret.

◆ hit_test()

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

Hit test.

Parameters
canvas= Canvas
pos= Point
Returns
Hit Test Result

◆ insert_texture()

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

◆ is_finished()

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

◆ is_looping()

bool clan::Sprite::is_looping ( ) const

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

◆ is_null() [1/4]

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

Returns true if this object is invalid.

◆ is_null() [2/4]

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

Returns true if this object is invalid.

◆ is_null() [3/4]

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

Returns true if this object is invalid.

◆ is_null() [4/4]

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

Returns true if this object is invalid.

◆ is_play_backward()

bool clan::Sprite::is_play_backward ( ) const

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

◆ is_play_loop()

bool clan::Sprite::is_play_loop ( ) const

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

◆ is_play_pingpong()

bool clan::Sprite::is_play_pingpong ( ) const

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

◆ layout()

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

Layout.

Parameters
canvas= Canvas
max_width= value

◆ load() [1/3]

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

Loads a Sprite from a XML resource definition.

◆ load() [2/3]

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

Loads a Sprite from a XML resource definition.

◆ load() [3/3]

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.

◆ normalize()

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.

◆ operator Color()

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

Type conversion operator.

◆ operator ColorType() [1/2]

template<typename Type , typename ColorType >
clan::ColorHSVx< Type, ColorType >::operator ColorType ( )

◆ operator ColorType() [2/2]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::operator ColorType ( )

◆ operator!=() [1/8]

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

◆ operator!=() [2/8]

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

◆ operator!=() [3/8]

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

◆ operator!=() [4/8]

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

◆ operator!=() [5/8]

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

◆ operator!=() [6/8]

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

Compares gradient to another one.

◆ operator!=() [7/8]

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

Inequality operator.

◆ operator!=() [8/8]

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

Inequality operator.

◆ operator<() [1/3]

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

◆ operator<() [2/3]

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

Less than operator.

◆ operator<() [3/3]

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

Less than operator.

◆ operator<=()

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

◆ operator=() [1/4]

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

◆ operator=() [2/4]

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

◆ operator=() [3/4]

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

Copy assignment operator.

◆ operator=() [4/4]

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

Copy assignment operator.

◆ operator==() [1/8]

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

◆ operator==() [2/8]

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

◆ operator==() [3/8]

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

◆ operator==() [4/8]

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

◆ operator==() [5/8]

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

◆ operator==() [6/8]

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

◆ operator==() [7/8]

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

Equality operator.

◆ operator==() [8/8]

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

Equality operator.

◆ operator>()

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

◆ operator>=()

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

◆ remove()

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.

◆ resource() [1/2]

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

◆ resource() [2/2]

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

◆ restart()

void clan::Sprite::restart ( )

Restart animation.

◆ rotate()

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

Add angle in degrees to current angle.

◆ rotate_pitch()

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

Add angle in degrees to current pitch angle.

◆ rotate_yaw()

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

Add angle in degrees to current yaw angle.

◆ set_align()

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

Sets the text alignment.

Alignment is applied when layout() is called

Parameters
align= The alignment

◆ set_alignment() [1/2]

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

Sets translation hotspot.

◆ set_alignment() [2/2]

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

Sets translation hotspot.

◆ set_alpha() [1/4]

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

Sets transparency.

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

◆ set_alpha() [2/4]

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

Sets transparency.

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

◆ set_alpha() [3/4]

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

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

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

◆ set_alpha() [4/4]

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

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

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

◆ set_alpha_f()

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.

◆ set_angle()

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

Set absolute rotation angle.

◆ set_angle_pitch()

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

Set absolute rotation pitch angle.

◆ set_angle_yaw()

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

Set absolute rotation yaw angle.

◆ set_argb8()

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

Set color based on argb color components.

◆ set_base_angle()

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().

◆ set_bgra8()

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

Set color based on rgba color components.

◆ set_blue() [1/2]

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

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

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

◆ set_blue() [2/2]

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

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

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

◆ set_blue_f()

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.

◆ set_color() [1/5]

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

Set color.

Parameters
c= Color

References clan::c, clan::color, and clan::Image::set_color().

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

◆ set_color() [2/5]

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

Set color.

Parameters
c= Color

References clan::c, clan::color, and clan::Sprite::set_color().

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

◆ set_color() [3/5]

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

Sets the color.

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

◆ set_color() [4/5]

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

Sets the color.

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

◆ set_color() [5/5]

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.

◆ set_colorf()

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.

◆ set_component_geometry()

void clan::SpanLayout::set_component_geometry ( )

Set component geometry.

◆ set_cursor_color()

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

Sets the cursor color.

Parameters
color= Color of cursor

◆ set_cursor_overwrite_mode()

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

◆ set_cursor_pos()

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

Sets the cursor position.

Parameters
pos= Index of cursor

◆ set_delay()

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

Sets the delay for all frames.

Parameters
delay_ms= Delay in milliseconds

◆ set_frame()

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

Sets current animation frame. 0 is first frame.

It will cap to available range.

◆ set_frame_delay() [1/2]

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

Sets the duration this frame is displayed, in seconds.

◆ set_frame_delay() [2/2]

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

◆ set_frame_offset()

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

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

◆ set_green() [1/2]

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

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

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

◆ set_green() [2/2]

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

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

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

◆ set_green_f()

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.

◆ set_hotspot()

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

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

◆ set_id()

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

Sets an attached id.

◆ set_image_data()

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.

◆ set_linear_filter() [1/2]

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.

◆ set_linear_filter() [2/2]

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.

◆ set_play_backward()

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

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

◆ set_play_loop()

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

Set to true if animation should loop, false otherwise.

◆ set_play_pingpong()

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

Set to true if animation should loop, false otherwise.

◆ set_position()

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

Set position.

Parameters
pos= Point

◆ set_red() [1/2]

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

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

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

◆ set_red() [2/2]

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

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

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

◆ set_red_f()

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.

◆ set_rgb8()

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

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

◆ set_rgba8()

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

Set color based on rgba color components.

◆ set_rotation_hotspot()

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

Sets rotation hotspot.

◆ set_scale() [1/2]

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.

◆ set_scale() [2/2]

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.

◆ set_selection_colors()

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

Set selection colors.

Parameters
foreground= Colorf
background= Colorf

◆ set_selection_range()

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

◆ set_show_on_finish()

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

Set what is shown when the animation is finished.

◆ set_texture_allocation_policy()

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

Set the texture allocation policy.

◆ set_wrap_mode()

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

◆ show_cursor()

void clan::SpanLayout::show_cursor ( )

Shows the cursor caret.

◆ sig_animation_finished()

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

Sig animation finished.

Returns
Signal<void()>

◆ throw_if_null() [1/4]

void clan::Subtexture::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ throw_if_null() [2/4]

void clan::TextureGroup::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ throw_if_null() [3/4]

void clan::Sprite::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ throw_if_null() [4/4]

void clan::Image::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ update()

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

◆ a [1/2]

◆ a [2/2]

◆ aliceblue [1/2]

Color clan::Color::aliceblue
static

rgb(240, 248, 255).

◆ aliceblue [2/2]

Colorf clan::Colorf::aliceblue
static

rgb(240, 248, 255).

◆ antiquewhite [1/2]

Color clan::Color::antiquewhite
static

rgb(250, 235, 215).

◆ antiquewhite [2/2]

Colorf clan::Colorf::antiquewhite
static

rgb(250, 235, 215).

◆ aqua [1/2]

Color clan::Color::aqua
static

rgb( 0, 255, 255).

◆ aqua [2/2]

Colorf clan::Colorf::aqua
static

rgb( 0, 255, 255).

◆ aquamarine [1/2]

Color clan::Color::aquamarine
static

rgb(127, 255, 212).

◆ aquamarine [2/2]

Colorf clan::Colorf::aquamarine
static

rgb(127, 255, 212).

◆ azure [1/2]

Color clan::Color::azure
static

rgb(240, 255, 255).

◆ azure [2/2]

Colorf clan::Colorf::azure
static

rgb(240, 255, 255).

◆ beige [1/2]

Color clan::Color::beige
static

rgb(245, 245, 220).

◆ beige [2/2]

Colorf clan::Colorf::beige
static

rgb(245, 245, 220).

◆ bisque [1/2]

Color clan::Color::bisque
static

rgb(255, 228, 196).

◆ bisque [2/2]

Colorf clan::Colorf::bisque
static

rgb(255, 228, 196).

◆ black [1/2]

Color clan::Color::black
static

rgb( 0, 0, 0).

◆ black [2/2]

Colorf clan::Colorf::black
static

rgb( 0, 0, 0).

◆ blanchedalmond [1/2]

Color clan::Color::blanchedalmond
static

rgb(255, 235, 205).

◆ blanchedalmond [2/2]

Colorf clan::Colorf::blanchedalmond
static

rgb(255, 235, 205).

◆ blue [1/2]

Color clan::Color::blue
static

rgb( 0, 0, 255).

◆ blue [2/2]

Colorf clan::Colorf::blue
static

rgb( 0, 0, 255).

◆ blueviolet [1/2]

Color clan::Color::blueviolet
static

rgb(138, 43, 226).

◆ blueviolet [2/2]

Colorf clan::Colorf::blueviolet
static

rgb(138, 43, 226).

◆ bottom_left

Colorf clan::Gradient::bottom_left

Color of bottom left corner of gradient.

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

◆ bottom_right

Colorf clan::Gradient::bottom_right

Color of bottom right corner of gradient.

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

◆ brown [1/2]

Color clan::Color::brown
static

rgb(165, 42, 42).

◆ brown [2/2]

Colorf clan::Colorf::brown
static

rgb(165, 42, 42).

◆ burlywood [1/2]

Color clan::Color::burlywood
static

rgb(222, 184, 135).

◆ burlywood [2/2]

Colorf clan::Colorf::burlywood
static

rgb(222, 184, 135).

◆ cadetblue [1/2]

Color clan::Color::cadetblue
static

rgb( 95, 158, 160).

◆ cadetblue [2/2]

Colorf clan::Colorf::cadetblue
static

rgb( 95, 158, 160).

◆ chartreuse [1/2]

Color clan::Color::chartreuse
static

rgb(127, 255, 0).

◆ chartreuse [2/2]

Colorf clan::Colorf::chartreuse
static

rgb(127, 255, 0).

◆ chocolate [1/2]

Color clan::Color::chocolate
static

rgb(210, 105, 30).

◆ chocolate [2/2]

Colorf clan::Colorf::chocolate
static

rgb(210, 105, 30).

◆ coral [1/2]

Color clan::Color::coral
static

rgb(255, 127, 80).

◆ coral [2/2]

Colorf clan::Colorf::coral
static

rgb(255, 127, 80).

◆ cornflowerblue [1/2]

Color clan::Color::cornflowerblue
static

rgb(100, 149, 237).

◆ cornflowerblue [2/2]

Colorf clan::Colorf::cornflowerblue
static

rgb(100, 149, 237).

◆ cornsilk [1/2]

Color clan::Color::cornsilk
static

rgb(255, 248, 220).

◆ cornsilk [2/2]

Colorf clan::Colorf::cornsilk
static

rgb(255, 248, 220).

◆ crimson [1/2]

Color clan::Color::crimson
static

rgb(220, 20, 60).

◆ crimson [2/2]

Colorf clan::Colorf::crimson
static

rgb(220, 20, 60).

◆ cyan [1/2]

Color clan::Color::cyan
static

rgb( 0, 255, 255).

◆ cyan [2/2]

Colorf clan::Colorf::cyan
static

rgb( 0, 255, 255).

◆ darkblue [1/2]

Color clan::Color::darkblue
static

rgb( 0, 0, 139).

◆ darkblue [2/2]

Colorf clan::Colorf::darkblue
static

rgb( 0, 0, 139).

◆ darkcyan [1/2]

Color clan::Color::darkcyan
static

rgb( 0, 139, 139).

◆ darkcyan [2/2]

Colorf clan::Colorf::darkcyan
static

rgb( 0, 139, 139).

◆ darkgoldenrod [1/2]

Color clan::Color::darkgoldenrod
static

rgb(184, 134, 11).

◆ darkgoldenrod [2/2]

Colorf clan::Colorf::darkgoldenrod
static

rgb(184, 134, 11).

◆ darkgray [1/2]

Color clan::Color::darkgray
static

rgb(169, 169, 169).

◆ darkgray [2/2]

Colorf clan::Colorf::darkgray
static

rgb(169, 169, 169).

◆ darkgreen [1/2]

Color clan::Color::darkgreen
static

rgb( 0, 100, 0).

◆ darkgreen [2/2]

Colorf clan::Colorf::darkgreen
static

rgb( 0, 100, 0).

◆ darkgrey [1/2]

Color clan::Color::darkgrey
static

rgb(169, 169, 169).

◆ darkgrey [2/2]

Colorf clan::Colorf::darkgrey
static

rgb(169, 169, 169).

◆ darkkhaki [1/2]

Color clan::Color::darkkhaki
static

rgb(189, 183, 107).

◆ darkkhaki [2/2]

Colorf clan::Colorf::darkkhaki
static

rgb(189, 183, 107).

◆ darkmagenta [1/2]

Color clan::Color::darkmagenta
static

rgb(139, 0, 139).

◆ darkmagenta [2/2]

Colorf clan::Colorf::darkmagenta
static

rgb(139, 0, 139).

◆ darkolivegreen [1/2]

Color clan::Color::darkolivegreen
static

rgb( 85, 107, 47).

◆ darkolivegreen [2/2]

Colorf clan::Colorf::darkolivegreen
static

rgb( 85, 107, 47).

◆ darkorange [1/2]

Color clan::Color::darkorange
static

rgb(255, 140, 0).

◆ darkorange [2/2]

Colorf clan::Colorf::darkorange
static

rgb(255, 140, 0).

◆ darkorchid [1/2]

Color clan::Color::darkorchid
static

rgb(153, 50, 204).

◆ darkorchid [2/2]

Colorf clan::Colorf::darkorchid
static

rgb(153, 50, 204).

◆ darkred [1/2]

Color clan::Color::darkred
static

rgb(139, 0, 0).

◆ darkred [2/2]

Colorf clan::Colorf::darkred
static

rgb(139, 0, 0).

◆ darksalmon [1/2]

Color clan::Color::darksalmon
static

rgb(233, 150, 122).

◆ darksalmon [2/2]

Colorf clan::Colorf::darksalmon
static

rgb(233, 150, 122).

◆ darkseagreen [1/2]

Color clan::Color::darkseagreen
static

rgb(143, 188, 143).

◆ darkseagreen [2/2]

Colorf clan::Colorf::darkseagreen
static

rgb(143, 188, 143).

◆ darkslateblue [1/2]

Color clan::Color::darkslateblue
static

rgb( 72, 61, 139).

◆ darkslateblue [2/2]

Colorf clan::Colorf::darkslateblue
static

rgb( 72, 61, 139).

◆ darkslategray [1/2]

Color clan::Color::darkslategray
static

rgb( 47, 79, 79).

◆ darkslategray [2/2]

Colorf clan::Colorf::darkslategray
static

rgb( 47, 79, 79).

◆ darkslategrey [1/2]

Color clan::Color::darkslategrey
static

rgb( 47, 79, 79).

◆ darkslategrey [2/2]

Colorf clan::Colorf::darkslategrey
static

rgb( 47, 79, 79).

◆ darkturquoise [1/2]

Color clan::Color::darkturquoise
static

rgb( 0, 206, 209).

◆ darkturquoise [2/2]

Colorf clan::Colorf::darkturquoise
static

rgb( 0, 206, 209).

◆ darkviolet [1/2]

Color clan::Color::darkviolet
static

rgb(148, 0, 211).

◆ darkviolet [2/2]

Colorf clan::Colorf::darkviolet
static

rgb(148, 0, 211).

◆ deeppink [1/2]

Color clan::Color::deeppink
static

rgb(255, 20, 147).

◆ deeppink [2/2]

Colorf clan::Colorf::deeppink
static

rgb(255, 20, 147).

◆ deepskyblue [1/2]

Color clan::Color::deepskyblue
static

rgb( 0, 191, 255).

◆ deepskyblue [2/2]

Colorf clan::Colorf::deepskyblue
static

rgb( 0, 191, 255).

◆ delay

double clan::CursorDescriptionFrame::delay

◆ dimgray [1/2]

Color clan::Color::dimgray
static

rgb(105, 105, 105).

◆ dimgray [2/2]

Colorf clan::Colorf::dimgray
static

rgb(105, 105, 105).

◆ dimgrey [1/2]

Color clan::Color::dimgrey
static

rgb(105, 105, 105).

◆ dimgrey [2/2]

Colorf clan::Colorf::dimgrey
static

rgb(105, 105, 105).

◆ dodgerblue [1/2]

Color clan::Color::dodgerblue
static

rgb( 30, 144, 255).

◆ dodgerblue [2/2]

Colorf clan::Colorf::dodgerblue
static

rgb( 30, 144, 255).

◆ firebrick [1/2]

Color clan::Color::firebrick
static

rgb(178, 34, 34).

◆ firebrick [2/2]

Colorf clan::Colorf::firebrick
static

rgb(178, 34, 34).

◆ floralwhite [1/2]

Color clan::Color::floralwhite
static

rgb(255, 250, 240).

◆ floralwhite [2/2]

Colorf clan::Colorf::floralwhite
static

rgb(255, 250, 240).

◆ forestgreen [1/2]

Color clan::Color::forestgreen
static

rgb( 34, 139, 34).

◆ forestgreen [2/2]

Colorf clan::Colorf::forestgreen
static

rgb( 34, 139, 34).

◆ fuchsia [1/2]

Color clan::Color::fuchsia
static

rgb(255, 0, 255).

◆ fuchsia [2/2]

Colorf clan::Colorf::fuchsia
static

rgb(255, 0, 255).

◆ gainsboro [1/2]

Color clan::Color::gainsboro
static

rgb(220, 220, 220).

◆ gainsboro [2/2]

Colorf clan::Colorf::gainsboro
static

rgb(220, 220, 220).

◆ ghostwhite [1/2]

Color clan::Color::ghostwhite
static

rgb(248, 248, 255).

◆ ghostwhite [2/2]

Colorf clan::Colorf::ghostwhite
static

rgb(248, 248, 255).

◆ gold [1/2]

Color clan::Color::gold
static

rgb(255, 215, 0).

◆ gold [2/2]

Colorf clan::Colorf::gold
static

rgb(255, 215, 0).

◆ goldenrod [1/2]

Color clan::Color::goldenrod
static

rgb(218, 165, 32).

◆ goldenrod [2/2]

Colorf clan::Colorf::goldenrod
static

rgb(218, 165, 32).

◆ gray [1/2]

Color clan::Color::gray
static

rgb(128, 128, 128).

◆ gray [2/2]

Colorf clan::Colorf::gray
static

rgb(128, 128, 128).

◆ gray10 [1/2]

Color clan::Color::gray10
static

◆ gray10 [2/2]

Colorf clan::Colorf::gray10
static

◆ gray20 [1/2]

Color clan::Color::gray20
static

◆ gray20 [2/2]

Colorf clan::Colorf::gray20
static

◆ gray30 [1/2]

Color clan::Color::gray30
static

◆ gray30 [2/2]

Colorf clan::Colorf::gray30
static

◆ gray40 [1/2]

Color clan::Color::gray40
static

◆ gray40 [2/2]

Colorf clan::Colorf::gray40
static

◆ gray50 [1/2]

Color clan::Color::gray50
static

◆ gray50 [2/2]

Colorf clan::Colorf::gray50
static

◆ gray60 [1/2]

Color clan::Color::gray60
static

◆ gray60 [2/2]

Colorf clan::Colorf::gray60
static

◆ gray70 [1/2]

Color clan::Color::gray70
static

◆ gray70 [2/2]

Colorf clan::Colorf::gray70
static

◆ gray80 [1/2]

Color clan::Color::gray80
static

◆ gray80 [2/2]

Colorf clan::Colorf::gray80
static

◆ gray90 [1/2]

Color clan::Color::gray90
static

◆ gray90 [2/2]

Colorf clan::Colorf::gray90
static

◆ green [1/2]

Color clan::Color::green
static

rgb( 0, 128, 0).

◆ green [2/2]

Colorf clan::Colorf::green
static

rgb( 0, 128, 0).

◆ greenyellow [1/2]

Color clan::Color::greenyellow
static

rgb(173, 255, 47).

◆ greenyellow [2/2]

Colorf clan::Colorf::greenyellow
static

rgb(173, 255, 47).

◆ grey [1/2]

Color clan::Color::grey
static

rgb(128, 128, 128).

◆ grey [2/2]

Colorf clan::Colorf::grey
static

rgb(128, 128, 128).

◆ h [1/2]

◆ h [2/2]

◆ honeydew [1/2]

Color clan::Color::honeydew
static

rgb(240, 255, 240).

◆ honeydew [2/2]

Colorf clan::Colorf::honeydew
static

rgb(240, 255, 240).

◆ hotpink [1/2]

Color clan::Color::hotpink
static

rgb(255, 105, 180).

◆ hotpink [2/2]

Colorf clan::Colorf::hotpink
static

rgb(255, 105, 180).

◆ indianred [1/2]

Color clan::Color::indianred
static

rgb(205, 92, 92).

◆ indianred [2/2]

Colorf clan::Colorf::indianred
static

rgb(205, 92, 92).

◆ indigo [1/2]

Color clan::Color::indigo
static

rgb( 75, 0, 130).

◆ indigo [2/2]

Colorf clan::Colorf::indigo
static

rgb( 75, 0, 130).

◆ ivory [1/2]

Color clan::Color::ivory
static

rgb(255, 255, 240).

◆ ivory [2/2]

Colorf clan::Colorf::ivory
static

rgb(255, 255, 240).

◆ khaki [1/2]

Color clan::Color::khaki
static

rgb(240, 230, 140).

◆ khaki [2/2]

Colorf clan::Colorf::khaki
static

rgb(240, 230, 140).

◆ l

◆ lavender [1/2]

Color clan::Color::lavender
static

rgb(230, 230, 250).

◆ lavender [2/2]

Colorf clan::Colorf::lavender
static

rgb(230, 230, 250).

◆ lavenderblush [1/2]

Color clan::Color::lavenderblush
static

rgb(255, 240, 245).

◆ lavenderblush [2/2]

Colorf clan::Colorf::lavenderblush
static

rgb(255, 240, 245).

◆ lawngreen [1/2]

Color clan::Color::lawngreen
static

rgb(124, 252, 0).

◆ lawngreen [2/2]

Colorf clan::Colorf::lawngreen
static

rgb(124, 252, 0).

◆ lemonchiffon [1/2]

Color clan::Color::lemonchiffon
static

rgb(255, 250, 205).

◆ lemonchiffon [2/2]

Colorf clan::Colorf::lemonchiffon
static

rgb(255, 250, 205).

◆ lightblue [1/2]

Color clan::Color::lightblue
static

rgb(173, 216, 230).

◆ lightblue [2/2]

Colorf clan::Colorf::lightblue
static

rgb(173, 216, 230).

◆ lightcoral [1/2]

Color clan::Color::lightcoral
static

rgb(240, 128, 128).

◆ lightcoral [2/2]

Colorf clan::Colorf::lightcoral
static

rgb(240, 128, 128).

◆ lightcyan [1/2]

Color clan::Color::lightcyan
static

rgb(224, 255, 255).

◆ lightcyan [2/2]

Colorf clan::Colorf::lightcyan
static

rgb(224, 255, 255).

◆ lightgoldenrodyellow [1/2]

Color clan::Color::lightgoldenrodyellow
static

rgb(250, 250, 210).

◆ lightgoldenrodyellow [2/2]

Colorf clan::Colorf::lightgoldenrodyellow
static

rgb(250, 250, 210).

◆ lightgray [1/2]

Color clan::Color::lightgray
static

rgb(211, 211, 211).

◆ lightgray [2/2]

Colorf clan::Colorf::lightgray
static

rgb(211, 211, 211).

◆ lightgreen [1/2]

Color clan::Color::lightgreen
static

rgb(144, 238, 144).

◆ lightgreen [2/2]

Colorf clan::Colorf::lightgreen
static

rgb(144, 238, 144).

◆ lightgrey [1/2]

Color clan::Color::lightgrey
static

rgb(211, 211, 211).

◆ lightgrey [2/2]

Colorf clan::Colorf::lightgrey
static

rgb(211, 211, 211).

◆ lightpink [1/2]

Color clan::Color::lightpink
static

rgb(255, 182, 193).

◆ lightpink [2/2]

Colorf clan::Colorf::lightpink
static

rgb(255, 182, 193).

◆ lightsalmon [1/2]

Color clan::Color::lightsalmon
static

rgb(255, 160, 122).

◆ lightsalmon [2/2]

Colorf clan::Colorf::lightsalmon
static

rgb(255, 160, 122).

◆ lightseagreen [1/2]

Color clan::Color::lightseagreen
static

rgb( 32, 178, 170).

◆ lightseagreen [2/2]

Colorf clan::Colorf::lightseagreen
static

rgb( 32, 178, 170).

◆ lightskyblue [1/2]

Color clan::Color::lightskyblue
static

rgb(135, 206, 250).

◆ lightskyblue [2/2]

Colorf clan::Colorf::lightskyblue
static

rgb(135, 206, 250).

◆ lightslategray [1/2]

Color clan::Color::lightslategray
static

rgb(119, 136, 153).

◆ lightslategray [2/2]

Colorf clan::Colorf::lightslategray
static

rgb(119, 136, 153).

◆ lightslategrey [1/2]

Color clan::Color::lightslategrey
static

rgb(119, 136, 153).

◆ lightslategrey [2/2]

Colorf clan::Colorf::lightslategrey
static

rgb(119, 136, 153).

◆ lightsteelblue [1/2]

Color clan::Color::lightsteelblue
static

rgb(176, 196, 222).

◆ lightsteelblue [2/2]

Colorf clan::Colorf::lightsteelblue
static

rgb(176, 196, 222).

◆ lightyellow [1/2]

Color clan::Color::lightyellow
static

rgb(255, 255, 224).

◆ lightyellow [2/2]

Colorf clan::Colorf::lightyellow
static

rgb(255, 255, 224).

◆ lime [1/2]

Color clan::Color::lime
static

rgb( 0, 255, 0).

◆ lime [2/2]

Colorf clan::Colorf::lime
static

rgb( 0, 255, 0).

◆ limegreen [1/2]

Color clan::Color::limegreen
static

rgb( 50, 205, 50).

◆ limegreen [2/2]

Colorf clan::Colorf::limegreen
static

rgb( 50, 205, 50).

◆ linen [1/2]

Color clan::Color::linen
static

rgb(250, 240, 230).

◆ linen [2/2]

Colorf clan::Colorf::linen
static

rgb(250, 240, 230).

◆ magenta [1/2]

Color clan::Color::magenta
static

rgb(255, 0, 255).

◆ magenta [2/2]

Colorf clan::Colorf::magenta
static

rgb(255, 0, 255).

◆ maroon [1/2]

Color clan::Color::maroon
static

rgb(128, 0, 0).

◆ maroon [2/2]

Colorf clan::Colorf::maroon
static

rgb(128, 0, 0).

◆ mediumaquamarine [1/2]

Color clan::Color::mediumaquamarine
static

rgb(102, 205, 170).

◆ mediumaquamarine [2/2]

Colorf clan::Colorf::mediumaquamarine
static

rgb(102, 205, 170).

◆ mediumblue [1/2]

Color clan::Color::mediumblue
static

rgb( 0, 0, 205).

◆ mediumblue [2/2]

Colorf clan::Colorf::mediumblue
static

rgb( 0, 0, 205).

◆ mediumorchid [1/2]

Color clan::Color::mediumorchid
static

rgb(186, 85, 211).

◆ mediumorchid [2/2]

Colorf clan::Colorf::mediumorchid
static

rgb(186, 85, 211).

◆ mediumpurple [1/2]

Color clan::Color::mediumpurple
static

rgb(147, 112, 219).

◆ mediumpurple [2/2]

Colorf clan::Colorf::mediumpurple
static

rgb(147, 112, 219).

◆ mediumseagreen [1/2]

Color clan::Color::mediumseagreen
static

rgb( 60, 179, 113).

◆ mediumseagreen [2/2]

Colorf clan::Colorf::mediumseagreen
static

rgb( 60, 179, 113).

◆ mediumslateblue [1/2]

Color clan::Color::mediumslateblue
static

rgb(123, 104, 238).

◆ mediumslateblue [2/2]

Colorf clan::Colorf::mediumslateblue
static

rgb(123, 104, 238).

◆ mediumspringgreen [1/2]

Color clan::Color::mediumspringgreen
static

rgb( 0, 250, 154).

◆ mediumspringgreen [2/2]

Colorf clan::Colorf::mediumspringgreen
static

rgb( 0, 250, 154).

◆ mediumturquoise [1/2]

Color clan::Color::mediumturquoise
static

rgb( 72, 209, 204).

◆ mediumturquoise [2/2]

Colorf clan::Colorf::mediumturquoise
static

rgb( 72, 209, 204).

◆ mediumvioletred [1/2]

Color clan::Color::mediumvioletred
static

rgb(199, 21, 133).

◆ mediumvioletred [2/2]

Colorf clan::Colorf::mediumvioletred
static

rgb(199, 21, 133).

◆ midnightblue [1/2]

Color clan::Color::midnightblue
static

rgb( 25, 25, 112).

◆ midnightblue [2/2]

Colorf clan::Colorf::midnightblue
static

rgb( 25, 25, 112).

◆ mintcream [1/2]

Color clan::Color::mintcream
static

rgb(245, 255, 250).

◆ mintcream [2/2]

Colorf clan::Colorf::mintcream
static

rgb(245, 255, 250).

◆ mistyrose [1/2]

Color clan::Color::mistyrose
static

rgb(255, 228, 225).

◆ mistyrose [2/2]

Colorf clan::Colorf::mistyrose
static

rgb(255, 228, 225).

◆ moccasin [1/2]

Color clan::Color::moccasin
static

rgb(255, 228, 181).

◆ moccasin [2/2]

Colorf clan::Colorf::moccasin
static

rgb(255, 228, 181).

◆ navajowhite [1/2]

Color clan::Color::navajowhite
static

rgb(255, 222, 173).

◆ navajowhite [2/2]

Colorf clan::Colorf::navajowhite
static

rgb(255, 222, 173).

◆ navy [1/2]

Color clan::Color::navy
static

rgb( 0, 0, 128).

◆ navy [2/2]

Colorf clan::Colorf::navy
static

rgb( 0, 0, 128).

◆ object_id

int clan::SpanLayout::HitTestResult::object_id

◆ offset

int clan::SpanLayout::HitTestResult::offset

◆ oldlace [1/2]

Color clan::Color::oldlace
static

rgb(253, 245, 230).

◆ oldlace [2/2]

Colorf clan::Colorf::oldlace
static

rgb(253, 245, 230).

◆ olive [1/2]

Color clan::Color::olive
static

rgb(128, 128, 0).

◆ olive [2/2]

Colorf clan::Colorf::olive
static

rgb(128, 128, 0).

◆ olivedrab [1/2]

Color clan::Color::olivedrab
static

rgb(107, 142, 35).

◆ olivedrab [2/2]

Colorf clan::Colorf::olivedrab
static

rgb(107, 142, 35).

◆ orange [1/2]

Color clan::Color::orange
static

rgb(255, 165, 0).

◆ orange [2/2]

Colorf clan::Colorf::orange
static

rgb(255, 165, 0).

◆ orangered [1/2]

Color clan::Color::orangered
static

rgb(255, 69, 0).

◆ orangered [2/2]

Colorf clan::Colorf::orangered
static

rgb(255, 69, 0).

◆ orchid [1/2]

Color clan::Color::orchid
static

rgb(218, 112, 214).

◆ orchid [2/2]

Colorf clan::Colorf::orchid
static

rgb(218, 112, 214).

◆ palegoldenrod [1/2]

Color clan::Color::palegoldenrod
static

rgb(238, 232, 170).

◆ palegoldenrod [2/2]

Colorf clan::Colorf::palegoldenrod
static

rgb(238, 232, 170).

◆ palegreen [1/2]

Color clan::Color::palegreen
static

rgb(152, 251, 152).

◆ palegreen [2/2]

Colorf clan::Colorf::palegreen
static

rgb(152, 251, 152).

◆ paleturquoise [1/2]

Color clan::Color::paleturquoise
static

rgb(175, 238, 238).

◆ paleturquoise [2/2]

Colorf clan::Colorf::paleturquoise
static

rgb(175, 238, 238).

◆ palevioletred [1/2]

Color clan::Color::palevioletred
static

rgb(219, 112, 147).

◆ palevioletred [2/2]

Colorf clan::Colorf::palevioletred
static

rgb(219, 112, 147).

◆ papayawhip [1/2]

Color clan::Color::papayawhip
static

rgb(255, 239, 213).

◆ papayawhip [2/2]

Colorf clan::Colorf::papayawhip
static

rgb(255, 239, 213).

◆ peachpuff [1/2]

Color clan::Color::peachpuff
static

rgb(255, 218, 185).

◆ peachpuff [2/2]

Colorf clan::Colorf::peachpuff
static

rgb(255, 218, 185).

◆ peru [1/2]

Color clan::Color::peru
static

rgb(205, 133, 63).

◆ peru [2/2]

Colorf clan::Colorf::peru
static

rgb(205, 133, 63).

◆ pink [1/2]

Color clan::Color::pink
static

rgb(255, 192, 203).

◆ pink [2/2]

Colorf clan::Colorf::pink
static

rgb(255, 192, 203).

◆ pixelbuffer

PixelBuffer clan::CursorDescriptionFrame::pixelbuffer

◆ plum [1/2]

Color clan::Color::plum
static

rgb(221, 160, 221).

◆ plum [2/2]

Colorf clan::Colorf::plum
static

rgb(221, 160, 221).

◆ powderblue [1/2]

Color clan::Color::powderblue
static

rgb(176, 224, 230).

◆ powderblue [2/2]

Colorf clan::Colorf::powderblue
static

rgb(176, 224, 230).

◆ purple [1/2]

Color clan::Color::purple
static

rgb(128, 0, 128).

◆ purple [2/2]

Colorf clan::Colorf::purple
static

rgb(128, 0, 128).

◆ rect

Rect clan::CursorDescriptionFrame::rect

◆ red [1/2]

Color clan::Color::red
static

rgb(255, 0, 0).

◆ red [2/2]

Colorf clan::Colorf::red
static

rgb(255, 0, 0).

◆ rosybrown [1/2]

Color clan::Color::rosybrown
static

rgb(188, 143, 143).

◆ rosybrown [2/2]

Colorf clan::Colorf::rosybrown
static

rgb(188, 143, 143).

◆ royalblue [1/2]

Color clan::Color::royalblue
static

rgb( 65, 105, 225).

◆ royalblue [2/2]

Colorf clan::Colorf::royalblue
static

rgb( 65, 105, 225).

◆ s [1/2]

◆ s [2/2]

◆ saddlebrown [1/2]

Color clan::Color::saddlebrown
static

rgb(139, 69, 19).

◆ saddlebrown [2/2]

Colorf clan::Colorf::saddlebrown
static

rgb(139, 69, 19).

◆ salmon [1/2]

Color clan::Color::salmon
static

rgb(250, 128, 114).

◆ salmon [2/2]

Colorf clan::Colorf::salmon
static

rgb(250, 128, 114).

◆ sandybrown [1/2]

Color clan::Color::sandybrown
static

rgb(244, 164, 96).

◆ sandybrown [2/2]

Colorf clan::Colorf::sandybrown
static

rgb(244, 164, 96).

◆ seagreen [1/2]

Color clan::Color::seagreen
static

rgb( 46, 139, 87).

◆ seagreen [2/2]

Colorf clan::Colorf::seagreen
static

rgb( 46, 139, 87).

◆ seashell [1/2]

Color clan::Color::seashell
static

rgb(255, 245, 238).

◆ seashell [2/2]

Colorf clan::Colorf::seashell
static

rgb(255, 245, 238).

◆ sienna [1/2]

Color clan::Color::sienna
static

rgb(160, 82, 45).

◆ sienna [2/2]

Colorf clan::Colorf::sienna
static

rgb(160, 82, 45).

◆ silver [1/2]

Color clan::Color::silver
static

rgb(192, 192, 192).

◆ silver [2/2]

Colorf clan::Colorf::silver
static

rgb(192, 192, 192).

◆ skyblue [1/2]

Color clan::Color::skyblue
static

rgb(135, 206, 235).

◆ skyblue [2/2]

Colorf clan::Colorf::skyblue
static

rgb(135, 206, 235).

◆ slateblue [1/2]

Color clan::Color::slateblue
static

rgb(106, 90, 205).

◆ slateblue [2/2]

Colorf clan::Colorf::slateblue
static

rgb(106, 90, 205).

◆ slategray [1/2]

Color clan::Color::slategray
static

rgb(112, 128, 144).

◆ slategray [2/2]

Colorf clan::Colorf::slategray
static

rgb(112, 128, 144).

◆ slategrey [1/2]

Color clan::Color::slategrey
static

rgb(112, 128, 144).

◆ slategrey [2/2]

Colorf clan::Colorf::slategrey
static

rgb(112, 128, 144).

◆ snow [1/2]

Color clan::Color::snow
static

rgb(255, 250, 250).

◆ snow [2/2]

Colorf clan::Colorf::snow
static

rgb(255, 250, 250).

◆ springgreen [1/2]

Color clan::Color::springgreen
static

rgb( 0, 255, 127).

◆ springgreen [2/2]

Colorf clan::Colorf::springgreen
static

rgb( 0, 255, 127).

◆ steelblue [1/2]

Color clan::Color::steelblue
static

rgb( 70, 130, 180).

◆ steelblue [2/2]

Colorf clan::Colorf::steelblue
static

rgb( 70, 130, 180).

◆ tan [1/2]

Color clan::Color::tan
static

rgb(210, 180, 140).

◆ tan [2/2]

Colorf clan::Colorf::tan
static

rgb(210, 180, 140).

◆ teal [1/2]

Color clan::Color::teal
static

rgb( 0, 128, 128).

◆ teal [2/2]

Colorf clan::Colorf::teal
static

rgb( 0, 128, 128).

◆ thistle [1/2]

Color clan::Color::thistle
static

rgb(216, 191, 216).

◆ thistle [2/2]

Colorf clan::Colorf::thistle
static

rgb(216, 191, 216).

◆ tomato [1/2]

Color clan::Color::tomato
static

rgb(255, 99, 71).

◆ tomato [2/2]

Colorf clan::Colorf::tomato
static

rgb(255, 99, 71).

◆ top_left

Colorf clan::Gradient::top_left

Color of top left corner of gradient.

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

◆ top_right

Colorf clan::Gradient::top_right

Color of top right corner of gradient.

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

◆ transparent [1/2]

Color clan::Color::transparent
static

rgba(0, 0, 0, 0).

◆ transparent [2/2]

Colorf clan::Colorf::transparent
static

rgba(0, 0, 0, 0).

◆ turquoise [1/2]

Color clan::Color::turquoise
static

rgb( 64, 224, 208).

◆ turquoise [2/2]

Colorf clan::Colorf::turquoise
static

rgb( 64, 224, 208).

◆ type

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

◆ v

◆ violet [1/2]

Color clan::Color::violet
static

rgb(238, 130, 238).

◆ violet [2/2]

Colorf clan::Colorf::violet
static

rgb(238, 130, 238).

◆ wheat [1/2]

Color clan::Color::wheat
static

rgb(245, 222, 179).

◆ wheat [2/2]

Colorf clan::Colorf::wheat
static

rgb(245, 222, 179).

◆ white [1/2]

Color clan::Color::white
static

rgb(255, 255, 255).

◆ white [2/2]

Colorf clan::Colorf::white
static

rgb(255, 255, 255).

◆ whitesmoke [1/2]

Color clan::Color::whitesmoke
static

rgb(245, 245, 245).

◆ whitesmoke [2/2]

Colorf clan::Colorf::whitesmoke
static

rgb(245, 245, 245).

◆ yellow [1/2]

Color clan::Color::yellow
static

rgb(255, 255, 0).

◆ yellow [2/2]

Colorf clan::Colorf::yellow
static

rgb(255, 255, 0).

◆ yellowgreen [1/2]

Color clan::Color::yellowgreen
static

rgb(154, 205, 50).

◆ yellowgreen [2/2]

Colorf clan::Colorf::yellowgreen
static

rgb(154, 205, 50).

Friends

◆ FontFamily_Impl

friend class FontFamily_Impl
friend