index 9238fe60679fa93550011cb2a7930d4155af02dc..0e15006306f74b6989ca8a9a608fc399e9cce31c 100644 (file)
#include "svg/stringstream.h"
#include "svg/stringstream.h"
+#include <stack>
+
namespace Inkscape {
namespace Extension {
namespace Internal {
namespace Inkscape {
namespace Extension {
namespace Internal {
float _width;
float _height;
FILE * _stream;
float _width;
float _height;
FILE * _stream;
+
+ std::stack<NR::Matrix> m_tr_stack;
- void print_bpath (SVGOStringStream &os, const NArtBpath *bp, const NRMatrix *transform);
+ void print_bpath (SVGOStringStream &os, const NArtBpath *bp, const NRMatrix *transform);
public:
PrintLatex (void);
public:
PrintLatex (void);
virtual unsigned int finish (Inkscape::Extension::Print * module);
/* Rendering methods */
virtual unsigned int finish (Inkscape::Extension::Print * module);
/* Rendering methods */
- virtual unsigned int fill (Inkscape::Extension::Print * module, const NRBPath *bpath, const NRMatrix *ctm, const SPStyle *style,
+ virtual unsigned int bind(Inkscape::Extension::Print *module, NRMatrix const *transform, float opacity);
+ virtual unsigned int release(Inkscape::Extension::Print *module);
+
+ virtual unsigned int fill (Inkscape::Extension::Print * module, const NRBPath *bpath, const NRMatrix *ctm, const SPStyle *style,
const NRRect *pbox, const NRRect *dbox, const NRRect *bbox);
virtual unsigned int stroke (Inkscape::Extension::Print * module, const NRBPath *bpath, const NRMatrix *transform, const SPStyle *style,
const NRRect *pbox, const NRRect *dbox, const NRRect *bbox);
const NRRect *pbox, const NRRect *dbox, const NRRect *bbox);
virtual unsigned int stroke (Inkscape::Extension::Print * module, const NRBPath *bpath, const NRMatrix *transform, const SPStyle *style,
const NRRect *pbox, const NRRect *dbox, const NRRect *bbox);