HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/include/libwmf/svg.h
/* libwmf (<libwmf/svg.h>): library for wmf conversion
   Copyright (C) 2000 - various; see CREDITS, ChangeLog, and sources

   The libwmf Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public License as
   published by the Free Software Foundation; either version 2 of the
   License, or (at your option) any later version.

   The libwmf Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public
   License along with the libwmf Library; see the file COPYING.  If not,
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */


#ifndef LIBWMF_SVG_H
#define LIBWMF_SVG_H

#include <stdio.h>

#include <libwmf/types.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _wmf_svg_t wmf_svg_t;

struct _wmf_svg_t
{	/* other */

	wmfD_Rect bbox;

	wmfStream* out; /* Output stream */

	char* Description;

	unsigned int width;
	unsigned int height;

	struct _wmf_svg_image /* SVG device layer writes raster images as PNG */
	{	void* context;
		char* (*name) (void*); /* takes context; returns file name */
	} image;

	unsigned long flags;
};

#define WMF_SVG_GetData(Z) ((wmf_svg_t*)((Z)->device_data))

#define WMF_SVG_INLINE_IMAGES (1 << 0)

extern void wmf_svg_function (wmfAPI*);

#ifdef __cplusplus
}
#endif

#endif /* ! LIBWMF_SVG_H */