diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-19 23:59:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-19 23:59:33 +0000 |
commit | dddce3148a2bc785603576b18ffcf72d39adbe47 (patch) | |
tree | 14f4c79ef11bcf0820a8d4ff2ab0c5ac009c365c /Build/source/utils/asymptote/drawclipend.h | |
parent | a01e51b01f5819b6091af48cdca581e9f2a9282e (diff) |
asy 1.93
git-svn-id: svn://tug.org/texlive/trunk@17934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/drawclipend.h')
-rw-r--r-- | Build/source/utils/asymptote/drawclipend.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Build/source/utils/asymptote/drawclipend.h b/Build/source/utils/asymptote/drawclipend.h index 4b2d3260f2c..e86842d3d11 100644 --- a/Build/source/utils/asymptote/drawclipend.h +++ b/Build/source/utils/asymptote/drawclipend.h @@ -35,6 +35,8 @@ public: bool endgroup() {return true;} + bool svg() {return true;} + void save(bool b) { grestore=b; if(partner) partner->save(b); @@ -47,13 +49,10 @@ public: bool write(texfile *out, const bbox& bpath) { out->endgroup(); - if(out->toplevel()) { - out->verbatimline(settings::endpicture(out->texengine)); - out->verbatim("\\kern"); - double width=bpath.right-bpath.left; - out->write(-width*ps2tex); - out->verbatimline("pt%"); - } + + if(out->toplevel()) + out->endpicture(bpath); + if(grestore) out->grestore(); return true; } |