On Wed, Sep 19, 2018 at 12:19 AM Allin Cottrell <cottr...@wfu.edu> wrote:
> > The question now is: "How to embed a gnuplot graphic in gtk3? > > Could you say, please, where to find a simple example, just to undestand > > how it is possible to do that? > > Get gnuplot to produce a PNG file, load the PNG into a GdkPixbuf, then > stick the GdkPixbuf onto a cairo surface. Do not do that. With high probability, an application using PNG as an intermediate plot format will get HiDPI wrong and things will look either blurry or tiny. Plot to SVG, then render that. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list