26 #if defined (HAVE_CONFIG_H)
53 static bool warned =
false;
60 "rendering text (FreeType)");
66 return m_rep !=
nullptr;
72 static Matrix empty_extent (1, 4, 0.0);
81 static Matrix retval (1, 4, 0.0);
111 const std::string& angle,
double size)
133 int halign,
int valign,
double rotation,
135 bool handle_rotation)
137 static Matrix empty_bbox (1, 4, 0.0);
155 std::list<text_renderer::string>& lst,
156 Matrix& bbox,
int halign,
int valign,
160 static Matrix empty_bbox (1, 4, 0.0);
161 static std::list<text_renderer::string> empty_lst;
virtual octave_map get_system_fonts(void)=0
virtual Matrix get_extent(text_element *elt, double rotation)=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
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 void set_color(const Matrix &c)=0
virtual void set_anti_aliasing(bool val)=0
virtual void set_font(const std::string &name, const std::string &weight, const std::string &angle, double size)=0
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")
octave_map get_system_fonts(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)
base_text_renderer * m_latex_rep
void set_anti_aliasing(bool val)
Matrix get_extent(text_element *elt, double rotation=0.0)
base_text_renderer * m_rep
void set_color(const Matrix &c)
void set_font(const std::string &name, const std::string &weight, const std::string &angle, double size)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void warn_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
base_text_renderer * make_ft_text_renderer(void)
base_text_renderer * make_latex_text_renderer(void)