KLFBackend::klfInput Struct Reference

Specific input to KLFBackend::getLatexFormula(). More...

#include <klfbackend.h>

List of all members.

Public Attributes

QString latex
QString mathmode
QString preamble
unsigned long fg_color
unsigned long bg_color
int dpi


Detailed Description

Specific input to KLFBackend::getLatexFormula().

This struct descibes the input of getLatexFormula(), ie. the LaTeX code, the mathmode to use, the dpi for rendering png, colors etc.

Definition at line 152 of file klfbackend.h.


Member Data Documentation

QString KLFBackend::klfInput::latex

The latex code to render

Definition at line 153 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

QString KLFBackend::klfInput::mathmode

The mathmode to use. You may pass an arbitrary string containing '...' . '...' will be replaced by the latex code. Examples are:

Definition at line 154 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

QString KLFBackend::klfInput::preamble

The LaTeX preample, ie the code that appears after '\documentclass{...}' and before '\begin{document}'

Definition at line 159 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

unsigned long KLFBackend::klfInput::fg_color

The foreground color to use, in format given by qRgb(r, g, b). You may not specify an alpha value here, it will be ignored.

Definition at line 161 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

unsigned long KLFBackend::klfInput::bg_color

The background color to use, in format given by qRgba(r, g, b, alpha).

Warning:
background alpha value can only be 0 or 255, not any arbitrary value. Any non-zero value will be considered as 255.

(E)PS and PDF formats can't handle transparency.

Definition at line 163 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

int KLFBackend::klfInput::dpi

The dots per inch resolution to use to render the image. This is directly passed to the -r option of the gs program.

Definition at line 167 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().


The documentation for this struct was generated from the following file:
Generated on Mon May 4 01:27:08 2009 for KLFBackend by  doxygen 1.5.3