Back to index

texmacs  1.0.7.15
imlib2.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : imlib2.hpp
00004 * DESCRIPTION: interface with Imlib2
00005 * COPYRIGHT  : (C) 2005  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 IMLIB2_H
00013 #define IMLIB2_H
00014 #include "url.hpp"
00015 
00016 bool imlib2_present ();
00017 bool imlib2_supports (url u);
00018 void imlib2_image_size (url u, int& w, int& h);
00019 
00020 #ifdef X11TEXMACS
00021 #include <X11/Xlib.h>
00022 void imlib2_display (Display* dpy, Pixmap pm, url image, int w, int h,
00023                    double cx1, double cy1, double cx2, double cy2);
00024 #endif
00025 
00026 
00027 #endif // IMLIB2_H