[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
KLFBackend Library Documentation
This documentation is the API documentation for the KLatexFormula library backend that you may want to use in your programs. It is a GPL-licensed library based on QT 3 or QT 4 that converts a LaTeX equation given as text into graphics, specifically PNG, EPS or PDF (and the image is available as a QImage—so any format supported by Qt is available.
Some utilities to save the output (in various formats) to a file or a QIODevice are provided, see KLFBackend::saveOutputToFile() and KLFBackend::saveOutputToDevice().
All the core functionality is based in the class KLFBackend . Some extra general utilities are available in klfdefs.h , such as klfVersionCompare(), KLFSysInfo, klfDbg, klfFmt(), klfSearchFind(), etc.
This library will compile indifferently on QT 3 and QT 4 with the same source code. The base API is the same, although some specific overloaded functions may differ or not be available in either version for Qt 3 or Qt 4. Those members are documented as such.
To compile with Qt 4, you may add KLFBACKEND_QT4 to your defines, ie. pass option -DKLFBACKEND_QT4 to gcc; however this is set automatically in klfdefs.h if Qt 4 is detected.
This library has been tested to work in non-GUI applications (ie. FALSE in QApplication constructor, or with QCoreApplication in Qt 4).

Generated by doxygen 1.8.6