26 #if defined (HAVE_CONFIG_H)
37 static base_text_renderer *
58 static bool warned =
false;
65 "rendering text (FreeType)");
71 return rep !=
nullptr;
77 static Matrix empty_extent (1, 4, 0.0);
86 static Matrix empty_extent (1, 4, 0.0);
111 const std::string& angle,
double size)
127 int halign,
int valign,
double rotation,
129 bool handle_rotation)
131 static Matrix empty_bbox (1, 4, 0.0);
146 std::list<text_renderer::string>& lst,
147 Matrix& bbox,
int halign,
int valign,
151 static Matrix empty_bbox (1, 4, 0.0);
152 static std::list<text_renderer::string> empty_lst;
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
virtual octave_map get_system_fonts(void)=0
virtual Matrix get_extent(text_element *elt, double rotation)=0
virtual void set_anti_aliasing(bool val)=0
virtual void set_color(const Matrix &c)=0
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
void set_anti_aliasing(bool val)
octave_map get_system_fonts(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")
Matrix get_extent(text_element *elt, double rotation=0.0)
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)
void set_color(const Matrix &c)
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)
base_text_renderer * make_ft_text_renderer(void)
static base_text_renderer * make_text_renderer(void)
octave_value::octave_value(const Array< char > &chm, char type) return retval