properties of the symbol
More...
#include <jkqtmathtextsymbolnode.h>
|
SymbolFlags | flags |
| flags switching special features
|
|
double | fontScalingFactor |
| magnification factor for the font size
|
|
QString | symbol |
| the symbol or text used to render the symbol (i.e. not the name, e.g. if the instruction/symbol name \int is used, this would be QChar(0xF2) , for \sin it would be QString ("sin") ...)
|
|
double | yShiftFactor |
| this corrects the y position of a symbol: draws at y <- y+ height*yfactor)
|
|
◆ SymbolProps() [1/4]
JKQTMathTextSymbolNode::SymbolProps::SymbolProps |
( |
| ) |
|
◆ SymbolProps() [2/4]
JKQTMathTextSymbolNode::SymbolProps::SymbolProps |
( |
const QString & |
_symbol, |
|
|
SymbolFlags |
_flags = AsOutside , |
|
|
double |
_fontScalingFactor = 1.0 , |
|
|
double |
_yShiftFactor = 0.0 |
|
) |
| |
this constructor sets the given properties and sets html=symbol! replaces whitespaces in _ymbol with
for html, iff MakeWhitespaceHalf is set in _flags
◆ SymbolProps() [3/4]
JKQTMathTextSymbolNode::SymbolProps::SymbolProps |
( |
SymbolProps && |
other | ) |
|
|
default |
◆ SymbolProps() [4/4]
JKQTMathTextSymbolNode::SymbolProps::SymbolProps |
( |
const SymbolProps & |
other | ) |
|
|
default |
◆ getSymbolSingleChar()
QChar JKQTMathTextSymbolNode::SymbolProps::getSymbolSingleChar |
( |
| ) |
const |
|
inline |
if symbol is a single character, this returns it, otherwise (empty or multi-character) it returns QChar()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ flags
flags switching special features
◆ fontScalingFactor
double JKQTMathTextSymbolNode::SymbolProps::fontScalingFactor |
magnification factor for the font size
◆ symbol
QString JKQTMathTextSymbolNode::SymbolProps::symbol |
the symbol or text used to render the symbol (i.e. not the name, e.g. if the instruction/symbol name \int
is used, this would be QChar(0xF2)
, for \sin
it would be QString
("sin") ...)
◆ yShiftFactor
double JKQTMathTextSymbolNode::SymbolProps::yShiftFactor |
this corrects the y position of a symbol: draws at y <- y+ height*yfactor)
The documentation for this struct was generated from the following file: