|
Krita Source Code Documentation
|
#include "SvgChangeTextPaddingMarginStrategy.h"#include "SvgTextTool.h"#include <KoPathShape.h>#include <KoPathSegment.h>#include <KoSvgTextProperties.h>#include <KisHandlePainterHelper.h>#include "SvgTextMergePropertiesRangeCommand.h"#include <kis_global.h>Go to the source code of this file.
Functions | |
| QLineF | getLine (QPointF mousePos, KoPathShape *referenceShape, bool isPadding) |
| KoSvgTextProperties | getProperties (bool isPadding, QLineF line, KoSvgTextProperties previous=KoSvgTextProperties()) |
| QLineF getLine | ( | QPointF | mousePos, |
| KoPathShape * | referenceShape, | ||
| bool | isPadding ) |
Definition at line 104 of file SvgChangeTextPaddingMarginStrategy.cpp.
References distance(), KoShape::documentToShape(), KoPathShape::hitTest(), kisDistance(), KoPathSegment::nearestPoint(), KoPathShape::outlineRect(), KoPathSegment::pointAt(), and KoPathShape::segmentsAt().
| KoSvgTextProperties getProperties | ( | bool | isPadding, |
| QLineF | line, | ||
| KoSvgTextProperties | previous = KoSvgTextProperties() ) |
Definition at line 129 of file SvgChangeTextPaddingMarginStrategy.cpp.
References length(), KoSvgTextProperties::ShapeMarginId, KoSvgTextProperties::ShapePaddingId, and KoSvgText::CssLengthPercentage::value.