diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-08 18:39:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-08 18:39:01 +0000 |
commit | bedc9a5694f7c40a2645919601638d2dbef4145b (patch) | |
tree | 22548fd073b3f2f5a287c2487d69bfc656125ef6 /Build/source/utils/asymptote/picture.h | |
parent | c2c4540ab1d27a23c085ce5081f6366cfabb31f6 (diff) |
asy 2.75 sources
git-svn-id: svn://tug.org/texlive/trunk@61532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/picture.h')
-rw-r--r-- | Build/source/utils/asymptote/picture.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Build/source/utils/asymptote/picture.h b/Build/source/utils/asymptote/picture.h index 91ef54260bd..61b3bd8c4fb 100644 --- a/Build/source/utils/asymptote/picture.h +++ b/Build/source/utils/asymptote/picture.h @@ -28,14 +28,16 @@ private: bboxlist bboxstack; groupsmap groups; unsigned billboard; + bool deconstruct; public: bbox3 b3; // 3D bounding box typedef mem::list<drawElement*> nodelist; nodelist nodes; - picture() : labels(false), lastnumber(0), lastnumber3(0), T(identity), - billboard(0) {} + picture(bool deconstruct=false) : + labels(false), lastnumber(0), lastnumber3(0), T(identity), billboard(0), + deconstruct(deconstruct) {} // Destroy all of the owned picture objects. ~picture(); @@ -56,7 +58,8 @@ public: bool havelabels(); bool have3D(); bool havepng(); - bool havenewpage(); + + unsigned int pagecount(); bbox bounds(); bbox3 bounds3(); @@ -64,9 +67,8 @@ public: // Compute bounds on ratio (x,y)/z for 3d picture (not cached). pair ratio(double (*m)(double, double)); - int epstosvg(const string& epsname, const string& outname); - int pdftosvg(const string& pdfname, const string& outname); - + int epstosvg(const string& epsname, const string& outname, + unsigned int pages); int epstopdf(const string& epsname, const string& pdfname); int pdftoeps(const string& pdfname, const string& epsname, bool eps=true); |