|
Krita Source Code Documentation
|
#include "kis_polygonal_gradient_shape_strategy.h"#include "kis_debug.h"#include "kis_algebra_2d.h"#include <config-gsl.h>#include <QtCore/qmath.h>#include <limits>#include <boost/math/distributions/normal.hpp>#include <QPainterPath>#include "krita_utils.h"Go to the source code of this file.
Namespaces | |
| namespace | Private |
Functions | |
| qreal | Private::calculateMaxWeight (const QPainterPath &selectionPath, qreal exponent, bool searchForMax) |
| QPointF | Private::centerFromPath (const QPainterPath &selectionPath) |
| bool | Private::findBestStartingPoint (int numSamples, const QPainterPath &path, qreal exponent, bool searchForMax, qreal initialExtremumValue, QPointF *result) |
| qreal | Private::getDisnormedGradientValue (const QPointF &pt, const QPainterPath &selectionPath, qreal exponent) |
| qreal | Private::initialExtremumValue (bool searchForMax) |
| QPainterPath | simplifyPath (const QPainterPath &path, qreal sizePortion, qreal minLinearSize, int minNumSamples) |
| QPainterPath simplifyPath | ( | const QPainterPath & | path, |
| qreal | sizePortion, | ||
| qreal | minLinearSize, | ||
| int | minNumSamples ) |
Definition at line 318 of file kis_polygonal_gradient_shape_strategy.cpp.
References length(), KritaUtils::maxDimensionPortion(), and p.