summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/prcfile.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-28 02:18:52 +0000
committerKarl Berry <karl@freefriends.org>2011-05-28 02:18:52 +0000
commitc59fe5fe4739f0c61560f05d4e42b4e552219b27 (patch)
tree8cf79e85e394b3177a28d374415840a4e0a025ad /Build/source/utils/asymptote/prcfile.h
parent771db15706dbf3f4af8b630dcb15646a3e5fda00 (diff)
asy 2.10
git-svn-id: svn://tug.org/texlive/trunk@22633 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/prcfile.h')
-rw-r--r--Build/source/utils/asymptote/prcfile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/prcfile.h b/Build/source/utils/asymptote/prcfile.h
index 168f1eb0bf4..4443859b502 100644
--- a/Build/source/utils/asymptote/prcfile.h
+++ b/Build/source/utils/asymptote/prcfile.h
@@ -12,9 +12,12 @@ inline RGBAColour rgba(pen p) {
return RGBAColour(p.red(),p.green(),p.blue(),p.opacity());
}
+static const double inches=72;
+static const double cm=inches/2.54;
+
class prcfile : public oPRCFile {
public:
- prcfile(string name) : oPRCFile(name.c_str()) {}
+ prcfile(string name) : oPRCFile(name.c_str(),10.0/cm) {} // Use bp.
};
} //namespace camp