summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/pen.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-27 22:27:57 +0000
committerKarl Berry <karl@freefriends.org>2019-03-27 22:27:57 +0000
commit9121faed0cf54a08882acf41120cf28fc3a32998 (patch)
treefe7f0c5e9ed02fe4a1fc389c27c88750c2807e43 /Build/source/utils/asymptote/pen.h
parentb8e24fbf964b4030f68a8484a53d405869693266 (diff)
asy 2.48 sources
git-svn-id: svn://tug.org/texlive/trunk@50622 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/pen.h')
-rw-r--r--Build/source/utils/asymptote/pen.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Build/source/utils/asymptote/pen.h b/Build/source/utils/asymptote/pen.h
index 591ff0daf9f..1208f4a60cb 100644
--- a/Build/source/utils/asymptote/pen.h
+++ b/Build/source/utils/asymptote/pen.h
@@ -18,9 +18,6 @@
namespace camp {
-extern const double tex2ps;
-extern const double ps2tex;
-
class LineType
{
public:
@@ -405,7 +402,7 @@ public:
static pen initialpen() {
return pen(LineType(vm::array(0),0.0,true,true),0.5,nullpath,"",
- 12.0*tex2ps,12.0*1.2*tex2ps,GRAYSCALE,
+ 12.0*settings::tex2ps,12.0*1.2*settings::tex2ps,GRAYSCALE,
0.0,0.0,0.0,0.0,"",ZEROWINDING,NOBASEALIGN,
Transparency(),1,1,10.0,ALLOW,identity);
}
@@ -443,11 +440,11 @@ public:
// Work around misalignment in ConTeXt switchtobodyfont if font is not found.
if(texengine == "context")
buf << "\\switchtobodyfont["
- << DEFCONTEXTFONT << "," << size()*ps2tex
+ << DEFCONTEXTFONT << "," << size()*settings::ps2tex
<< "pt]\\removeunwantedspaces%" << newl;
else
buf << "\\font\\ASYfont=" << DEFTEXFONT
- << " at " << size()*ps2tex << "pt\\ASYfont";
+ << " at " << size()*settings::ps2tex << "pt\\ASYfont";
return buf.str();
}
}