izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
svg::color_qi Struct Reference

Color quantified as integral RGB components in the range [0,255]. aka like Scalar in OpenCV. More...

#include <a60-svg-color.h>

Public Types

using itype = unsigned short
 

Public Member Functions

 color_qi ()=default
 
 color_qi (const color e)
 
 color_qi (const color_qi &)=default
 
 color_qi (itype ra, itype ga, itype ba)
 
color_qioperator= (const color_qi &)=default
 

Static Public Member Functions

static color_qi from_string (string s)
 
static string to_string (color_qi s)
 

Public Attributes

itype b
 
itype g
 
itype r
 

Detailed Description

Color quantified as integral RGB components in the range [0,255]. aka like Scalar in OpenCV.

Definition at line 438 of file a60-svg-color.h.

Member Typedef Documentation

◆ itype

using svg::color_qi::itype = unsigned short

Definition at line 440 of file a60-svg-color.h.

Constructor & Destructor Documentation

◆ color_qi() [1/4]

svg::color_qi::color_qi ( )
default

◆ color_qi() [2/4]

svg::color_qi::color_qi ( const color_qi & )
default
+ Here is the call graph for this function:

◆ color_qi() [3/4]

svg::color_qi::color_qi ( itype ra,
itype ga,
itype ba )
inline

Definition at line 503 of file a60-svg-color.h.

◆ color_qi() [4/4]

svg::color_qi::color_qi ( const color e)
inline

Definition at line 505 of file a60-svg-color.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ from_string()

static color_qi svg::color_qi::from_string ( string s)
inlinestatic

Definition at line 458 of file a60-svg-color.h.

+ Here is the call graph for this function:

◆ operator=()

color_qi & svg::color_qi::operator= ( const color_qi & )
default
+ Here is the call graph for this function:

◆ to_string()

static string svg::color_qi::to_string ( color_qi s)
inlinestatic

Definition at line 449 of file a60-svg-color.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ b

itype svg::color_qi::b

Definition at line 444 of file a60-svg-color.h.

◆ g

itype svg::color_qi::g

Definition at line 443 of file a60-svg-color.h.

◆ r

itype svg::color_qi::r

Definition at line 442 of file a60-svg-color.h.


The documentation for this struct was generated from the following file: