diff options
Diffstat (limited to 'support/dktools/wxd2lat.h')
-rw-r--r-- | support/dktools/wxd2lat.h | 299 |
1 files changed, 299 insertions, 0 deletions
diff --git a/support/dktools/wxd2lat.h b/support/dktools/wxd2lat.h new file mode 100644 index 0000000000..4daa2e197e --- /dev/null +++ b/support/dktools/wxd2lat.h @@ -0,0 +1,299 @@ +/* +Copyright (C) 2017-2020, Dirk Krause +SPDX-License-Identifier: BSD-3-Clause +*/ + +/* + WARNING: This file was generated by the dkct program (see + http://dktools.sourceforge.net/ for details). + Changes you make here will be lost if dkct is run again! + You should modify the original source and run dkct on it. + Original source: wxd2lat.ctr +*/ + +/** @file wxd2lat.h Header file for the wxd2lat module. +*/ + +#ifndef WXD2LAT_H_INCLUDED +/** Avoid multiple inclusions. */ +#define WXD2LAT_H_INCLUDED 1 + + +#line 8 "wxd2lat.ctr" + +#ifndef DK4CONF_H_INCLUDED +#include "dk4conf.h" +#endif + +#if DK4_HAVE_MATH_H +#ifndef MATH_H_INCLUDED +#define _USE_MATH_DEFINES +#include <math.h> +#define MATH_H_INCLUDED 1 +#endif +#endif + +#ifndef DK4TYPES_H_INCLUDED +#include "dk4types.h" +#endif + +#ifndef DK4NUMCO_H_INCLUDED +#include "dk4numco.h" +#endif + +#ifndef DK4MEM_H_INCLUDED +#include "dk4mem.h" +#endif + +#ifndef DK4STR8_H_INCLUDED +#include "dk4str8.h" +#endif + +#ifndef DK4STRD_H_INCLUDED +#include "dk4strd.h" +#endif + +#ifndef DK4REC27_H_INCLUDED +#include "dk4rec27.h" +#endif + +#ifndef DK4VERS_H_INCLUDED +#include "dk4vers.h" +#endif + +#ifndef DK4MATH_H_INCLUDED +#include "dk4math.h" +#endif + +#ifndef DK4ITER_H_INCLUDED +#include "dk4iter.h" +#endif + +#ifndef DK4MAAI32_H_INCLUDED +#include "dk4maai32.h" +#endif + +#ifndef DK4MAADI_H_INCLUDED +#include "dk4maadi.h" +#endif + +#ifndef DK4MAASZ_H_INCLUDED +#include "dk4maasz.h" +#endif + +#ifndef DK4MAI8DBL_H_INCLUDED +#include "dk4mai8dbl.h" +#endif + +#ifndef DK4MAIDDBL_H_INCLUDED +#include "dk4maiddbl.h" +#endif + +#ifndef DK4MAI8DU8_H_INCLUDED +#include "dk4mai8du8.h" +#endif + +#ifndef DK4MAI8DI8_H_INCLUDED +#include "dk4mai8di8.h" +#endif + +#ifndef DK4MAI8DU16_H_INCLUDED +#include "dk4mai8du16.h" +#endif + +#ifndef DK4MAI8DI16_H_INCLUDED +#include "dk4mai8di16.h" +#endif + +#ifndef DK4MAI8DU32_H_INCLUDED +#include "dk4mai8du32.h" +#endif + +#ifndef DK4MAI8DI32_H_INCLUDED +#include "dk4mai8di32.h" +#endif + +#ifndef DK4APP_H_INCLUDED +#include "dk4app.h" +#endif + +#ifndef DK4AOPT_H_INCLUDED +#include "dk4aopt.h" +#endif + +#ifndef DK4XSP_H_INCLUDED +#include "dk4xsp.h" +#endif + +#ifndef DK4UC2LA_H_INCLUDED +#include "dk4uc2la.h" +#endif + +#ifndef DK4GRCO_H_INCLUDED +#include "dk4grco.h" +#endif + +#ifndef DK4GRCOA_H_INCLUDED +#include "dk4grcoa.h" +#endif + +#ifndef DK4BIF_H_INCLUDED +#include "dk4bif.h" +#endif + +#ifndef DK4BIFAP_H_INCLUDED +#include "dk4bifap.h" +#endif + +#ifndef DK4GRA_H_INCLUDED +#include "dk4gra.h" +#endif + +#ifndef DK4GRAT_H_INCLUDED +#include "dk4grat.h" +#endif + +#ifndef DK4FILED_H_INCLUDED +#include "dk4filed.h" +#endif + +#ifndef DK4PATHD_H_INCLUDED +#include "dk4pathd.h" +#endif + +#ifndef DK4DIR_H_INCLUDED +#include "dk4dir.h" +#endif + +#ifndef DK4DIRA_H_INCLUDED +#include "dk4dira.h" +#endif + +#ifndef DK4FOPDA_H_INCLUDED +#include "dk4fopda.h" +#endif + +#ifndef DK4STO_H_INCLUDED +#include "dk4sto.h" +#endif + +#ifndef DK4CS_H_INCLUDED +#include "dk4cs.h" +#endif + +#ifndef DK4MPL_H_INCLUDED +#include "dk4mpl.h" +#endif + +#ifndef DK4MM_H_INCLUDED +#include "dk4mm.h" +#endif + +#ifndef DK4FPUT_H_INCLUDED +#include "dk4fput.h" +#endif + +#ifndef DK4PPPT_H_INCLUDED +#include "dk4pppt.h" +#endif + +#ifndef DK4UNUSED_H_INCLUDED +#include "dk4unused.h" +#endif + +#ifndef WXDTYPES_H_INCLUDED +#include "wxdtypes.h" +#endif + +#ifndef WXDENUM_H_INCLUDED +#include "wxdenum.h" +#endif + + +/** Conversion job structure. +*/ +typedef struct { + dk4_gra_conf_t grco; /**< Graphics conversion options. */ + dk4_pppt_t *ppp; /**< Output structure. */ + dkChar *fnb; /**< File name buffer. */ + dkChar *fno1; /**< Output file name 1. */ + dkChar *fno2; /**< Output file name 2. */ + dk4_app_t *app; /**< Application structure. */ + dk4_uc2l_t *uc2l; /**< Unicode to LaTeX structure. */ + const dkChar * const *msg; /**< Localized or default texts. */ + double baselw; /**< Base line width in bp. */ + double patlw; /**< Pattern line width in bp. */ + double shiftx; /**< X shift value. */ + double shifty; /**< Y shift value. */ + double xsprec; /**< Precision X-spl iteration. */ + double xslprec; /**< Precision length iteration. */ + size_t szwidth; /**< Width in bp. */ + size_t szheight; /**< Height in bp. */ + size_t sz_msg; /**< Number of texts in msg. */ + size_t szfnb; /**< Size of file name buffer. */ + int exval; /**< Exit status code. */ + int make; /**< Flag: Behave like make. */ + int use_prefs; /**< Flag: Use preferences. */ + int whitebg; /**< Flag: White background. */ +} wxd2lat_job_t; + + +#ifndef F2LLIC_H_INCLUDED +#include "w2llic.h" +#endif + +#ifndef WXDSTR_H_INCLUDED +#include "wxdstr.h" +#endif + +#ifndef WXDCOMP_H_INCLUDED +#include "wxdcomp.h" +#endif + +#ifndef WXDOBJ_H_INCLUDED +#include "wxdobj.h" +#endif + +#ifndef WXDRD_H_INCLUDED +#include "wxdrd.h" +#endif + +#ifndef WXD2LAH_H_INCLUDED +#include "wxd2lah.h" +#endif + +#ifndef WXD2LXS_H_INCLUDED +#include "wxd2lxs.h" +#endif + +#ifndef WXDARC_H_INCLUDED +#include "wxdarc.h" +#endif + +#ifndef WXD2LOUT_H_INCLUDED +#include "wxd2lout.h" +#endif + + +/** Output types. +*/ +enum { + /** PGF instructions. + */ + OUTPUT_PGF = 0 , + + /** PDF+TeX file pair. + */ + OUTPUT_PDF , + + /** EPS+TeX file pair. + */ + OUTPUT_EPS +}; + + +/* vim: set ai sw=4 ts=4 : */ + + + +#endif |