summaryrefslogtreecommitdiff
path: root/graphics/asymptote/drawclipend.h
diff options
context:
space:
mode:
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();