summaryrefslogtreecommitdiff
path: root/graphics/asymptote/jsfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/jsfile.h')
-rw-r--r--graphics/asymptote/jsfile.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/graphics/asymptote/jsfile.h b/graphics/asymptote/jsfile.h
index b0b70972af..28b7778b9c 100644
--- a/graphics/asymptote/jsfile.h
+++ b/graphics/asymptote/jsfile.h
@@ -14,10 +14,20 @@ class jsfile {
public:
jsfile() {}
- ~jsfile();
+ ~jsfile() {}
+ void precision(int digits) {out.precision(digits);}
+
void open(string name);
- void copy(string name);
+ void header(string name);
+ void meta(string name, bool scalable=true);
+ void comment(string name);
+ void finish(string name);
+ void footer(string name);
+
+ void svgtohtml(string name);
+
+ void copy(string name, bool header=false);
void addColor(const prc::RGBAColour& c);
void addIndices(const uint32_t *I);