|
Krita Source Code Documentation
|
#include <KoSvgText.h>
Inheritance diagram for KoSvgText::AutoValue:Public Member Functions | |
| AutoValue () | |
| AutoValue (qreal _customValue) | |
| bool | operator== (const AutoValue &other) const |
Public Attributes | |
| qreal | customValue = 0.0 |
| bool | isAuto = true |
AutoValue represents the "auto-or-real" values used in SVG
Some SVG attributes can be set to either "auto" or some floating point value. E.g. 'kerning' attribute. If its value is "auto", the kerning is defined by the kerning tables of the font. And if its value is a real number, e.g. 0 or 5.5, the font kerning is set to this particular number.
Definition at line 444 of file KoSvgText.h.
|
inline |
Definition at line 446 of file KoSvgText.h.
|
inline |
Definition at line 447 of file KoSvgText.h.
|
inline |
Definition at line 452 of file KoSvgText.h.
References customValue, isAuto, and qFuzzyCompare().
| qreal KoSvgText::AutoValue::customValue = 0.0 |
Definition at line 450 of file KoSvgText.h.
| bool KoSvgText::AutoValue::isAuto = true |
Definition at line 449 of file KoSvgText.h.