summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/picture.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-10 18:49:48 +0000
committerKarl Berry <karl@freefriends.org>2019-01-10 18:49:48 +0000
commit8d656f7b22badc7a1e4e48811521048ef3df7101 (patch)
tree207c9332ac340eef8b84e90d67a0f0c6a734e547 /Build/source/utils/asymptote/picture.h
parentc75ad7aa4d5821b7c4034c949a5ed2401e589bea (diff)
asy 2.47 sources
git-svn-id: svn://tug.org/texlive/trunk@49658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/picture.h')
-rw-r--r--Build/source/utils/asymptote/picture.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/Build/source/utils/asymptote/picture.h b/Build/source/utils/asymptote/picture.h
index cd46aeb50f0..915c05703e2 100644
--- a/Build/source/utils/asymptote/picture.h
+++ b/Build/source/utils/asymptote/picture.h
@@ -36,7 +36,7 @@ public:
nodelist nodes;
picture() : labels(false), lastnumber(0), lastnumber3(0), T(identity),
- transparency(false) {}
+ transparency(false), billboard(0) {}
// Destroy all of the owned picture objects.
~picture();
@@ -57,6 +57,7 @@ public:
bool havelabels();
bool have3D();
bool havepng();
+ bool havenewpage();
bbox bounds();
bbox3 bounds3();
@@ -68,6 +69,9 @@ public:
return transparency;
}
+ int epstosvg(const string& epsname, const string& outname);
+ int pdftosvg(const string& pdfname, const string& outname);
+
int epstopdf(const string& epsname, const string& pdfname);
int pdftoeps(const string& pdfname, const string& epsname);
@@ -75,14 +79,12 @@ public:
const string& prefix, const pair& bboxshift, bool svgformat);
bool postprocess(const string& prename, const string& outname,
- const string& outputformat, double magnification,
- bool wait, bool view, bool pdftex, bool epsformat,
- bool svg);
+ const string& outputformat, bool wait, bool view,
+ bool pdftex, bool epsformat, bool svg);
// Ship the picture out to PostScript & TeX files.
bool shipout(picture* preamble, const string& prefix,
- const string& format, double magnification=0.0,
- bool wait=false, bool view=true);
+ const string& format, bool wait=false, bool view=true);
void render(GLUnurbs *nurb, double size2,
const triple &Min, const triple& Max, double perspective,