beschreibt die Größe(n) eines Knotens
More...
#include <jkqtmathtexttools.h>
|
double | baselineHeight |
| baselineHeight of whole block, i.e. the ascent
|
|
double | baselineXCorrection |
| x-correction (<0 = move to the left) for subscripts, i.e. approximately at the height of the baseline
|
|
double | overallHeight |
| overallHeight of whole block
|
|
double | strikeoutPos |
| strikeoutPos of whole block, i.e. distance of the strikeout position from the baseline
|
|
double | topXCorrection |
| x-correction (>0 = move to the right) for superscripts, i.e. approximately at the top of the box
|
|
double | width |
| width of whole block
|
|
beschreibt die Größe(n) eines Knotens
◆ JKQTMathTextNodeSize()
JKQTMathTextNodeSize::JKQTMathTextNodeSize |
( |
double |
width = 0 , |
|
|
double |
baselineHeight = 0 , |
|
|
double |
overallHeight = 0 , |
|
|
double |
strikeoutPos = 0 , |
|
|
double |
baselineXCorrection = 0 , |
|
|
double |
topXCorrection = 0 |
|
) |
| |
◆ getAscent()
double JKQTMathTextNodeSize::getAscent |
( |
| ) |
const |
|
inline |
calculate the ascent (=baselineHeight), for convenience and naming
◆ getDescent()
double JKQTMathTextNodeSize::getDescent |
( |
| ) |
const |
|
inline |
calculate the descent (overallHeight-baselineHeight)
◆ getHeight()
double JKQTMathTextNodeSize::getHeight |
( |
| ) |
const |
|
inline |
calculate the height (=baselineHeight), for convenience and naming
◆ getIntSize()
QSize JKQTMathTextNodeSize::getIntSize |
( |
| ) |
const |
|
inline |
calculate the overall size in floating-point precision
◆ getSize()
QSizeF JKQTMathTextNodeSize::getSize |
( |
| ) |
const |
|
inline |
calculate the overall size in floating-point precision
◆ sliceToNodeSize()
◆ baselineHeight
double JKQTMathTextNodeSize::baselineHeight |
baselineHeight of whole block, i.e. the ascent
◆ baselineXCorrection
double JKQTMathTextNodeSize::baselineXCorrection |
x-correction (<0 = move to the left) for subscripts, i.e. approximately at the height of the baseline
◆ overallHeight
double JKQTMathTextNodeSize::overallHeight |
overallHeight of whole block
◆ strikeoutPos
double JKQTMathTextNodeSize::strikeoutPos |
strikeoutPos of whole block, i.e. distance of the strikeout position from the baseline
◆ topXCorrection
double JKQTMathTextNodeSize::topXCorrection |
x-correction (>0 = move to the right) for superscripts, i.e. approximately at the top of the box
◆ width
double JKQTMathTextNodeSize::width |
The documentation for this struct was generated from the following file: