34class AST_CHART_API
QwtBackend :
public matplot::backend::backend_interface {
39 bool consumes_gnuplot_commands()
override;
40 bool is_interactive()
override;
42 const std::string& output()
override;
43 const std::string& output_format()
override;
44 bool output(
const std::string& filename)
override;
45 bool output(
const std::string& filename,
46 const std::string& file_format)
override;
48 unsigned int width()
override;
49 unsigned int height()
override;
50 void width(
unsigned int new_width)
override;
51 void height(
unsigned int new_height)
override;
53 unsigned int position_x()
override;
54 unsigned int position_y()
override;
55 void position_x(
unsigned int new_position_x)
override;
56 void position_y(
unsigned int new_position_y)
override;
58 void window_title(
const std::string& title)
override;
59 std::string window_title()
override;
61 bool new_frame()
override;
62 bool render_data()
override;
63 void show(matplot::figure_type* f)
override;
64 bool should_close()
override;
65 bool supports_fonts()
override;
67 void draw(matplot::figure_type* f)
override;
70 std::unique_ptr<Impl> impl_;