home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / libwmf / eps.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-02-16  |  1.7 KB  |  69 lines

  1. /* libwmf (<libwmf/eps.h>): library for wmf conversion
  2.    Copyright (C) 2000 - various; see CREDITS, ChangeLog, and sources
  3.  
  4.    The libwmf Library is free software; you can redistribute it and/or
  5.    modify it under the terms of the GNU Library General Public License as
  6.    published by the Free Software Foundation; either version 2 of the
  7.    License, or (at your option) any later version.
  8.  
  9.    The libwmf Library is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12.    Library General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU Library General Public
  15.    License along with the libwmf Library; see the file COPYING.  If not,
  16.    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17.    Boston, MA 02111-1307, USA.  */
  18.  
  19.  
  20. #ifndef LIBWMF_EPS_H
  21. #define LIBWMF_EPS_H
  22.  
  23. #include <stdio.h>
  24.  
  25. #include <libwmf/types.h>
  26.  
  27. typedef struct _wmf_eps_t wmf_eps_t;
  28.  
  29. struct _wmf_eps_t
  30. {    /* other */
  31.  
  32.     wmfD_Rect bbox;
  33.  
  34.     wmfStream* out;   /* Output stream */
  35.  
  36.     char* Title;
  37.     char* Creator;
  38.     char* Date;
  39.     char* For;
  40.  
  41.     int eps_x;   /* Desired location & size of eps output */
  42.     int eps_y;
  43.  
  44.     unsigned int eps_width;  /* 0 = use wmf width  */
  45.     unsigned int eps_height; /* 0 = use wmf height */
  46.  
  47.     unsigned int page_width; /* Page size if (style_eps) */
  48.     unsigned int page_height;
  49.  
  50.     unsigned long flags;
  51. };
  52.  
  53. #define WMF_EPS_STYLE_PS   (1 << 0)
  54. #define WMF_EPS_LANDSCAPE  (1 << 1)
  55.  
  56. #define WMF_EPS_GetData(Z) ((wmf_eps_t*)((Z)->device_data))
  57.  
  58. #ifdef __cplusplus
  59. extern "C" {
  60. #endif
  61.  
  62. extern void wmf_eps_function (wmfAPI*);
  63.  
  64. #ifdef __cplusplus
  65. }
  66. #endif
  67.  
  68. #endif /* ! LIBWMF_EPS_H */
  69.