GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
text_element_color Class Reference

#include "txt-eng.h"

Inheritance diagram for text_element_color:
Collaboration diagram for text_element_color:

Public Member Functions

 text_element_color (double r, double g, double b)
 
 text_element_color (const std::string &cname)
 
 ~text_element_color (void)=default
 
void accept (text_processor &p)
 
Matrix get_color (void)
 

Private Attributes

Matrix rgb
 

Detailed Description

Definition at line 272 of file txt-eng.h.

Constructor & Destructor Documentation

◆ text_element_color() [1/2]

text_element_color::text_element_color ( double  r,
double  g,
double  b 
)
inline

Definition at line 277 of file txt-eng.h.

References b.

◆ text_element_color() [2/2]

text_element_color::text_element_color ( const std::string cname)
inline

Definition at line 285 of file txt-eng.h.

References ASSIGN_COLOR.

◆ ~text_element_color()

text_element_color::~text_element_color ( void  )
default

Member Function Documentation

◆ accept()

void text_element_color::accept ( text_processor p)
inlinevirtual

Implements text_element.

Definition at line 370 of file txt-eng.h.

◆ get_color()

Matrix text_element_color::get_color ( void  )
inline

Definition at line 305 of file txt-eng.h.

Member Data Documentation

◆ rgb

Matrix text_element_color::rgb
private

Definition at line 310 of file txt-eng.h.


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