24 #if defined (HAVE_CONFIG_H)
56 static bool warned =
false;
63 "rendering text (FreeType)");
75 static Matrix empty_extent (1, 4, 0.0);
84 static Matrix empty_extent (1, 4, 0.0);
86 return ok () ?
rep->
get_extent (txt, rotation, interpreter) : empty_extent;
107 int halign,
int valign,
double rotation,
109 bool handle_rotation)
111 static Matrix empty_bbox (1, 4, 0.0);
116 interpreter, handle_rotation);
126 std::list<text_renderer::string>& lst,
127 Matrix& bbox,
int halign,
int valign,
131 static Matrix empty_bbox (1, 4, 0.0);
132 static std::list<text_renderer::string> empty_lst;
virtual void set_font(const std::string &name, const std::string &weight, const std::string &angle, double size)=0
virtual void text_to_pixels(const std::string &txt, uint8NDArray &pxls, Matrix &bbox, int halign, int valign, double rotation, const caseless_str &interpreter, bool handle_rotation)=0
Octave interface to the compression and uncompression libraries.
static octave::base_text_renderer * make_text_renderer(void)
void text_to_pixels(const std::string &txt, uint8NDArray &pxls, Matrix &bbox, int halign, int valign, double rotation=0.0, const caseless_str &interpreter="tex", bool handle_rotation=true)
virtual Matrix get_extent(text_element *elt, double rotation)=0
base_text_renderer * make_ft_text_renderer(void)
void text_to_strlist(const std::string &txt, std::list< string > &lst, Matrix &box, int halign, int valign, double rotation=0.0, const caseless_str &interpreter="tex")
void set_font(const std::string &name, const std::string &weight, const std::string &angle, double size)
void warn_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
void set_color(const Matrix &c)
virtual void set_color(const Matrix &c)=0
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
Matrix get_extent(text_element *elt, double rotation=0.0)
virtual void text_to_strlist(const std::string &txt, std::list< text_renderer::string > &lst, Matrix &box, int halign, int valign, double rotation, const caseless_str &interpreter="tex")=0
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