~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/extension/internal/latex-pstricks.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include "svg/stringstream.h"
21
21
 
 
22
#include <stack>
 
23
 
22
24
namespace Inkscape {
23
25
namespace Extension {
24
26
namespace Internal {
28
30
    float  _width;
29
31
    float  _height;
30
32
    FILE * _stream;
 
33
    
 
34
    std::stack<NR::Matrix> m_tr_stack;
31
35
 
32
 
        void print_bpath (SVGOStringStream &os, const NArtBpath *bp, const NRMatrix *transform);
 
36
    void print_bpath (SVGOStringStream &os, const NArtBpath *bp, const NRMatrix *transform);
33
37
 
34
38
public:
35
39
        PrintLatex (void);
42
46
        virtual unsigned int finish (Inkscape::Extension::Print * module);
43
47
 
44
48
        /* Rendering methods */
45
 
        virtual unsigned int fill (Inkscape::Extension::Print * module, const NRBPath *bpath, const NRMatrix *ctm, const SPStyle *style,
 
49
        virtual unsigned int bind(Inkscape::Extension::Print *module, NRMatrix const *transform, float opacity);
 
50
        virtual unsigned int release(Inkscape::Extension::Print *module);
 
51
 
 
52
        virtual unsigned int fill (Inkscape::Extension::Print * module, const NRBPath *bpath, const NRMatrix *ctm, const SPStyle *style,
46
53
                const NRRect *pbox, const NRRect *dbox, const NRRect *bbox);
47
54
        virtual unsigned int stroke (Inkscape::Extension::Print * module, const NRBPath *bpath, const NRMatrix *transform, const SPStyle *style,
48
55
                const NRRect *pbox, const NRRect *dbox, const NRRect *bbox);