javafx-out.h revision 6cb09c9eff35d073f82c747af4d3f61be4a18fe4
/*
* A simple utility for exporting an Inkscape svg image as a JavaFX
* scene tree.
*
* Authors:
* Bob Jamison <ishmal@inkscape.org>
* Silveira Neto <silveiraneto@gmail.com>
* Jim Clarke <Jim.Clarke@sun.com>
*
* Copyright (C) 2008 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef EXTENSION_INTERNAL_JAVAFX_OUT_H
#define EXTENSION_INTERNAL_JAVAFX_OUT_H
#include <glib.h>
#include "extension/implementation/implementation.h"
#include <document.h>
#include <sp-gradient.h>
{
{
{
/**
* Output the current svg document in JavaFX format.
*
* For information, @see:
*/
{
/**
* Our internal String definition
*/
/**
* Check whether we can actually output using this module
*/
/**
* API call to perform the output to a file
*/
/**
* Inkscape runtime startup call.
*/
static void init(void);
/**
* Reset variables to initial state
*/
void reset();
//output class name
//For formatted output
/**
* Format text to our output buffer
*/
/**
* Format text to our function output buffer
*/
//Output the parts of the file
/**
* Output the file header
*/
bool doHeader();
/**
* Output gradient information to the buffer
*/
/**
* Output an element's style attribute
*/
/**
* Output the SVG document's curve data as JavaFX geometry types
*/
/**
* Output the file footer
*/
bool doTail();
/**
* Actual method to save document
*/
//For statistics
int nrNodes;
int nrShapes;
int idindex;
double minx;
double miny;
double maxx;
double maxy;
};
} // namespace Internal
} // namespace Extension
} // namespace Inkscape
#endif /* EXTENSION_INTERNAL_POV_OUT_H */