summaryrefslogtreecommitdiff
path: root/graphics/asymptote/drawclipend.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-08-07 03:02:55 +0000
committerNorbert Preining <norbert@preining.info>2020-08-07 03:02:55 +0000
commit3710c23789342d9d88783cbe9ad23eb5263a7c33 (patch)
tree1c40b2bfb9f6b652f7877ad0991f5d6b44391154 /graphics/asymptote/drawclipend.h
parentd99fea72e367e8d4d2809b43b3b0206b1bb526b8 (diff)
CTAN sync 202008070302
Diffstat (limited to 'graphics/asymptote/drawclipend.h')
-rw-r--r--graphics/asymptote/drawclipend.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/asymptote/drawclipend.h b/graphics/asymptote/drawclipend.h
index e86842d3d1..48c8d2de5a 100644
--- a/graphics/asymptote/drawclipend.h
+++ b/graphics/asymptote/drawclipend.h
@@ -14,16 +14,16 @@
namespace camp {
class drawClipEnd : public drawElement {
- bool grestore;
+ bool grestore;
drawClipBegin *partner;
public:
- drawClipEnd(bool grestore=true, drawClipBegin *partner=NULL) :
+ drawClipEnd(bool grestore=true, drawClipBegin *partner=NULL) :
grestore(grestore), partner(partner) {}
virtual ~drawClipEnd() {}
bool endclip() {return true;}
-
+
void bounds(bbox& b, iopipestream&, boxvector&, bboxlist& bboxstack) {
if(bboxstack.size() < 2)
reportError("endclip without matching beginclip");
@@ -34,14 +34,14 @@ public:
}
bool endgroup() {return true;}
-
+
bool svg() {return true;}
-
+
void save(bool b) {
grestore=b;
if(partner) partner->save(b);
}
-
+
bool draw(psfile *out) {
if(grestore) out->grestore();
return true;
@@ -49,8 +49,8 @@ public:
bool write(texfile *out, const bbox& bpath) {
out->endgroup();
-
- if(out->toplevel())
+
+ if(out->toplevel())
out->endpicture(bpath);
if(grestore) out->grestore();