36class AST_CHART_API
QwtBackend :
public matplot::backend::backend_interface {
41 bool consumes_gnuplot_commands()
override;
42 bool is_interactive()
override;
44 const std::string& output()
override;
45 const std::string& output_format()
override;
46 bool output(
const std::string& filename)
override;
47 bool output(
const std::string& filename,
48 const std::string& file_format)
override;
50 unsigned int width()
override;
51 unsigned int height()
override;
52 void width(
unsigned int new_width)
override;
53 void height(
unsigned int new_height)
override;
55 unsigned int position_x()
override;
56 unsigned int position_y()
override;
57 void position_x(
unsigned int new_position_x)
override;
58 void position_y(
unsigned int new_position_y)
override;
60 void window_title(
const std::string& title)
override;
61 std::string window_title()
override;
63 bool new_frame()
override;
64 bool render_data()
override;
65 void show(matplot::figure_type* f)
override;
66 bool should_close()
override;
67 bool supports_fonts()
override;
69 void draw(matplot::figure_type* f)
override;
72 std::unique_ptr<Impl> impl_;