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

#include "graphics.h"

Public Member Functions

 color_values (const std::string &str)
 
 color_values (double r=0, double g=0, double b=1)
 
 operator octave_value () const
 
bool operator!= (const color_values &c) const
 
bool operator== (const color_values &c) const
 
Matrix rgb () const
 
void validate () const
 

Detailed Description

Definition at line 1018 of file graphics.h.

Constructor & Destructor Documentation

◆ color_values() [1/2]

color_values::color_values ( double  r = 0,
double  g = 0,
double  b = 1 
)
inline

Definition at line 1021 of file graphics.h.

References r.

◆ color_values() [2/2]

color_values::color_values ( const std::string &  str)
inline

Definition at line 1031 of file graphics.h.

References error().

Member Function Documentation

◆ operator octave_value()

color_values::operator octave_value ( ) const
inline

Definition at line 1052 of file graphics.h.

◆ operator!=()

bool color_values::operator!= ( const color_values c) const
inline

Definition at line 1047 of file graphics.h.

◆ operator==()

bool color_values::operator== ( const color_values c) const
inline

Definition at line 1040 of file graphics.h.

◆ rgb()

Matrix color_values::rgb ( ) const
inline

Definition at line 1050 of file graphics.h.

◆ validate()

void color_values::validate ( ) const
inline

Definition at line 1054 of file graphics.h.

References error().


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