summaryrefslogtreecommitdiff
path: root/graphics/asymptote/drawverbatim.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/drawverbatim.h')
-rw-r--r--graphics/asymptote/drawverbatim.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/asymptote/drawverbatim.h b/graphics/asymptote/drawverbatim.h
index 186dc54442..454d22a300 100644
--- a/graphics/asymptote/drawverbatim.h
+++ b/graphics/asymptote/drawverbatim.h
@@ -13,7 +13,7 @@
namespace camp {
enum Language {PostScript,TeX};
-
+
class drawVerbatim : public drawElement {
private:
Language language;
@@ -22,31 +22,31 @@ private:
pair min,max;
bool havebounds;
public:
- drawVerbatim(Language language, const string& text) :
+ drawVerbatim(Language language, const string& text) :
language(language), text(text), userbounds(false), havebounds(false) {}
-
+
drawVerbatim(Language language, const string& text, pair min,
- pair max) :
+ pair max) :
language(language), text(text), userbounds(true), min(min), max(max),
havebounds(false) {}
-
+
virtual ~drawVerbatim() {}
void bounds(bbox& b, iopipestream& tex, boxvector&, bboxlist&) {
if(havebounds) return;
havebounds=true;
- if(language == TeX)
+ if(language == TeX)
tex << text << "%" << newl;
if(userbounds) {
b += min;
b += max;
}
}
-
+
bool islabel() {
return language == TeX;
}
-
+
bool draw(psfile *out) {
if(language == PostScript) out->verbatimline(text);
return true;