summaryrefslogtreecommitdiff
path: root/graphics/asymptote/prcfile.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/prcfile.h
parentd99fea72e367e8d4d2809b43b3b0206b1bb526b8 (diff)
CTAN sync 202008070302
Diffstat (limited to 'graphics/asymptote/prcfile.h')
-rw-r--r--graphics/asymptote/prcfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/prcfile.h b/graphics/asymptote/prcfile.h
index 224a92f8a0..d707606555 100644
--- a/graphics/asymptote/prcfile.h
+++ b/graphics/asymptote/prcfile.h
@@ -17,12 +17,12 @@ inline prc::RGBAColour rgba(pen p) {
p.torgb();
return prc::RGBAColour(p.red(),p.green(),p.blue(),p.opacity());
}
-
+
static const double inches=72;
static const double cm=inches/2.54;
class prcfile : public prc::oPRCFile {
-public:
+public:
prcfile(string name) : prc::oPRCFile(name.c_str(),10.0/cm) {} // Use bp.
};