diff libinterp/corefcn/gl2ps-renderer.h @ 19639:61cc00ebac60

move opengl printing code from __init_fltk__.cc to gl2ps-renderer.cc * gl2ps-renderer.h, gl2ps-renderer.cc (gl2ps_print): New function. * __init_fltk__.cc (OpenGL_fltk::print): Use it.
author John W. Eaton <jwe@octave.org>
date Thu, 29 Jan 2015 17:07:09 -0500
parents ebb3ef964372
children 16f21db320b5
line wrap: on
line diff
--- a/libinterp/corefcn/gl2ps-renderer.h	Tue Jan 27 18:55:25 2015 +0100
+++ b/libinterp/corefcn/gl2ps-renderer.h	Thu Jan 29 17:07:09 2015 -0500
@@ -86,4 +86,8 @@
 
 #endif  // HAVE_GL2PS_H
 
+extern OCTINTERP_API void
+gl2ps_print (const graphics_object& fig, const std::string& cmd,
+             const std::string& term);
+
 #endif