mirror of
https://git.code.sf.net/p/fuse-emulator/fuse
synced 2026-01-27 01:41:34 +03:00
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/* svg.h: Routines to capture ROM graphics statements to Scalable Vector
|
|
Graphics files
|
|
Copyright (c) 2014 Stefano Bodrato
|
|
Portions taken from svgwrite.c, (c) J.J. Green 2005
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program 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 General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
Author contact information:
|
|
|
|
E-mail: stefano@bodrato.it
|
|
|
|
*/
|
|
|
|
#ifndef FUSE_SVG_H
|
|
#define FUSE_SVG_H
|
|
|
|
extern int svg_capture_active; /* SVG capture enabled? */
|
|
|
|
typedef enum svg_capture_type {
|
|
SVG_CAPTURE_DOTS,
|
|
SVG_CAPTURE_LINES,
|
|
} svg_capture_type;
|
|
|
|
void svg_startcapture( const char *name, svg_capture_type mode );
|
|
void svg_stopcapture( void );
|
|
|
|
void svg_capture( void );
|
|
void svg_capture_end( void );
|
|
|
|
#endif /* #ifndef FUSE_SVG_H */
|