Back to index

texmacs  1.0.7.15
ghostscript.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : ghostscript.hpp
00004 * DESCRIPTION: interface with ghostscript
00005 * COPYRIGHT  : (C) 1999  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef GHOSTSCRIPT_H
00013 #define GHOSTSCRIPT_H
00014 
00015 #ifdef X11TEXMACS
00016 
00017 #include "url.hpp"
00018 #include <X11/Xlib.h>
00019 #include <X11/Xatom.h>
00020 
00021 bool ghostscript_bugged ();
00022 void ghostscript_run (Display* dpy, Window gs_win, Pixmap pm,
00023                     url image, SI w, SI h,
00024                     double cx1, double cy1, double cx2, double cy2);
00025 
00026 #endif // X11TEXMACS
00027 
00028 #endif // GHOSTSCRIPT_H