diff options
Diffstat (limited to 'graphics/asymptote/settings.h')
-rw-r--r-- | graphics/asymptote/settings.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/graphics/asymptote/settings.h b/graphics/asymptote/settings.h index 99136a8df8..effcc16d9d 100644 --- a/graphics/asymptote/settings.h +++ b/graphics/asymptote/settings.h @@ -52,23 +52,24 @@ extern string systemDir; extern string docdir; extern const string dirsep; extern string tempdir; - + extern bool safe; - + +bool globalread(); bool globalwrite(); extern const string suffix; extern const string guisuffix; extern const string standardprefix; - + extern string historyname; - + void SetPageDimensions(); types::record *getSettingsModule(); vm::item& Setting(string name); - + template <typename T> inline T getSetting(string name) { @@ -81,7 +82,7 @@ extern bool gray; extern bool bw; extern bool rgb; extern bool cmyk; - + bool view(); bool trap(); string outname(); @@ -91,20 +92,20 @@ void setOptions(int argc, char *argv[]); // Access the arguments once options have been parsed. int numArgs(); char *getArg(int n); - + Int getScroll(); - + extern mode_t mask; - + bool xe(const string& texengine); bool lua(const string& texengine); bool pdf(const string& texengine); bool latex(const string& texengine); bool context(const string& texengine); - + string nativeformat(); string defaultformat(); - + const char *beginlabel(const string& texengine); const char *endlabel(const string& texengine); const char *rawpostscript(const string& texengine); @@ -112,10 +113,10 @@ const char *beginpicture(const string& texengine); const char *endpicture(const string& texengine); const char *beginspecial(const string& texengine); const char *endspecial(); - + string texcommand(); string texprogram(); - + const double inches=72.0; const double cm=inches/2.54; const double tex2ps=72.0/72.27; |