24 #if ! defined (octave_text_renderer_h)
25 #define octave_text_renderer_h 1
27 #include "octave-config.h"
40 class base_text_renderer;
62 void set_color (
const Matrix&
c);
66 int halign,
int valign,
double rotation = 0.0,
68 bool handle_rotation =
true);
75 : name (), weight (), angle (), size (0)
80 : name (nm), weight (wt), angle (ang), size (sz)
84 : name (ft.name), weight (ft.weight), angle (ft.angle),
126 :
str (s), fnt (f),
x (x0),
y (y0), z (0.0),
code (0),
137 string& operator = (
const string&
s)
162 double get_size (
void)
const {
return fnt.get_size (); }
172 void set_z (
const double z0) { z = z0; }
174 double get_z (
void)
const {
return z; }
182 color(0) =
static_cast<double> (
c(0)) / 255;
183 color(1) =
static_cast<double> (
c(1)) / 255;
184 color(2) =
static_cast<double> (
c(2)) / 255;
200 int halign,
int valign,
double rotation = 0.0,
Octave interface to the compression and uncompression libraries.
Matrix get_color(void) const
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE * f
std::string get_weight(void) const
std::string get_name(void) const
void set_z(const double z0)
uint32_t get_code(void) const
std::string get_string(void) const
void set_string(const std::string &s)
string(const std::string &s, font &f, const double x0, const double y0)
void set_color(const uint8NDArray &c)
void set_code(const uint32_t c)
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
std::string get_weight(void) const
double get_size(void) const
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
std::string get_angle(void) const
std::string get_angle(void) const
void set_x(const double x0)
static octave_value box(JNIEnv *jni_env, void *jobj, void *jcls_arg=0)
Convert the Java object pointed to by jobj_arg with class jcls_arg to an Octave value.
font(const std::string &nm, const std::string &wt, const std::string &ang, double sz)
the element is set to zero In other the statement xample y
std::string get_name(void) const
void set_y(const double y0)
double get_size(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE * x