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

#include "text-renderer.h"

Public Member Functions

 string ()=delete
 
 string (const std::string &s, const font &f, double x, double y)
 
std::string get_angle () const
 
uint32_t get_code () const
 
Matrix get_color () const
 
std::string get_family () const
 
std::string get_name () const
 
double get_size () const
 
std::string get_string () const
 
std::string get_svg_element () const
 
std::string get_weight () const
 
double get_x () const
 
std::vector< double > get_xdata () const
 
double get_y () const
 
double get_z () const
 
void set_code (const uint32_t code)
 
void set_color (const uint8NDArray &c)
 
void set_family (const std::string &nm)
 
void set_string (const std::string &s)
 
void set_svg_element (const std::string &svg)
 
void set_x (const double x)
 
void set_xdata (const std::vector< double > &x)
 
void set_y (const double y)
 
void set_z (const double z)
 

Detailed Description

Definition at line 129 of file text-renderer.h.

Constructor & Destructor Documentation

◆ string() [1/2]

text_renderer::string::string ( )
delete

◆ string() [2/2]

text_renderer::string::string ( const std::string &  s,
const font f,
double  x,
double  y 
)
inline

Definition at line 135 of file text-renderer.h.

Member Function Documentation

◆ get_angle()

std::string text_renderer::string::get_angle ( ) const
inline

Definition at line 155 of file text-renderer.h.

◆ get_code()

uint32_t text_renderer::string::get_code ( ) const
inline

Definition at line 177 of file text-renderer.h.

◆ get_color()

Matrix text_renderer::string::get_color ( ) const
inline

Definition at line 190 of file text-renderer.h.

◆ get_family()

std::string text_renderer::string::get_family ( ) const
inline

Definition at line 149 of file text-renderer.h.

◆ get_name()

std::string text_renderer::string::get_name ( ) const
inline

Definition at line 147 of file text-renderer.h.

◆ get_size()

double text_renderer::string::get_size ( ) const
inline

Definition at line 157 of file text-renderer.h.

◆ get_string()

std::string text_renderer::string::get_string ( ) const
inline

Definition at line 145 of file text-renderer.h.

◆ get_svg_element()

std::string text_renderer::string::get_svg_element ( ) const
inline

Definition at line 181 of file text-renderer.h.

◆ get_weight()

std::string text_renderer::string::get_weight ( ) const
inline

Definition at line 153 of file text-renderer.h.

◆ get_x()

double text_renderer::string::get_x ( ) const
inline

Definition at line 161 of file text-renderer.h.

◆ get_xdata()

std::vector<double> text_renderer::string::get_xdata ( ) const
inline

Definition at line 165 of file text-renderer.h.

◆ get_y()

double text_renderer::string::get_y ( ) const
inline

Definition at line 169 of file text-renderer.h.

◆ get_z()

double text_renderer::string::get_z ( ) const
inline

Definition at line 173 of file text-renderer.h.

◆ set_code()

void text_renderer::string::set_code ( const uint32_t  code)
inline

Definition at line 175 of file text-renderer.h.

◆ set_color()

void text_renderer::string::set_color ( const uint8NDArray c)
inline

Definition at line 183 of file text-renderer.h.

◆ set_family()

void text_renderer::string::set_family ( const std::string &  nm)
inline

Definition at line 151 of file text-renderer.h.

◆ set_string()

void text_renderer::string::set_string ( const std::string &  s)
inline

Definition at line 143 of file text-renderer.h.

◆ set_svg_element()

void text_renderer::string::set_svg_element ( const std::string &  svg)
inline

Definition at line 179 of file text-renderer.h.

◆ set_x()

void text_renderer::string::set_x ( const double  x)
inline

Definition at line 159 of file text-renderer.h.

References x.

◆ set_xdata()

void text_renderer::string::set_xdata ( const std::vector< double > &  x)
inline

Definition at line 163 of file text-renderer.h.

References x.

◆ set_y()

void text_renderer::string::set_y ( const double  y)
inline

Definition at line 167 of file text-renderer.h.

◆ set_z()

void text_renderer::string::set_z ( const double  z)
inline

Definition at line 171 of file text-renderer.h.


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