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

#include "text-engine.h"

Inheritance diagram for text_element_color:
text_element

Public Member Functions

 text_element_color ()=delete
 
 text_element_color (const std::string &cname)
 
 text_element_color (double r, double g, double b)
 
void accept (text_processor &p)
 
Matrix get_color ()
 
- Public Member Functions inherited from text_element
virtual ~text_element ()=default
 

Detailed Description

Definition at line 286 of file text-engine.h.

Constructor & Destructor Documentation

◆ text_element_color() [1/3]

text_element_color::text_element_color ( )
delete

◆ text_element_color() [2/3]

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

Definition at line 294 of file text-engine.h.

References r.

◆ text_element_color() [3/3]

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

Definition at line 302 of file text-engine.h.

References ASSIGN_COLOR.

Member Function Documentation

◆ accept()

void text_element_color::accept ( text_processor p)
inlinevirtual

Implements text_element.

Definition at line 390 of file text-engine.h.

◆ get_color()

Matrix text_element_color::get_color ( )
inline

Definition at line 322 of file text-engine.h.


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