diff libinterp/interp-core/gl2ps-renderer.h @ 16732:3806afcf974a

Include graphics image file name in latex file for {eps,pdf,ps}latex output. * libinterp/dldfcn/__init_fltk__.cc: Add print_cmd to gl2ps_renderer.draw. * libinterp/interp-core/gl2ps-renderer.h: Add print_cmd to declaration of draw. * libinterp/interp-core/gl2ps-renderer.cc: Extract the graphics filename to be included in the LaTeX document.
author Ben Abbott <bpabbott@mac.com>
date Sat, 08 Jun 2013 11:22:10 +0800
parents 2fc554ffbc28
children
line wrap: on
line diff
--- a/libinterp/interp-core/gl2ps-renderer.h
+++ b/libinterp/interp-core/gl2ps-renderer.h
@@ -37,7 +37,7 @@
 
   ~glps_renderer (void) { }
 
-  void draw (const graphics_object& go);
+  void draw (const graphics_object& go, const std::string print_cmd);
 
 protected: