|
Krita Source Code Documentation
|
#include "SvgMeshPatch.h"#include <array>#include <math.h>#include <QDebug>#include <kis_global.h>Go to the source code of this file.
Functions | |
| static qreal | controlrectLen (const SvgMeshPath &path) |
| void | deCasteljau (const std::array< QPointF, 4 > &points, qreal t, QPointF *p1, QPointF *p2, QPointF *p3, QPointF *p4, QPointF *p5) |
| QPointF | lerp (const QPointF &p1, const QPointF &p2, qreal t) |
| QPair< std::array< QPointF, 4 >, std::array< QPointF, 4 > > | splitAt (const std::array< QPointF, 4 > &points, qreal t) |
|
static |
Definition at line 418 of file SvgMeshPatch.cpp.
| void deCasteljau | ( | const std::array< QPointF, 4 > & | points, |
| qreal | t, | ||
| QPointF * | p1, | ||
| QPointF * | p2, | ||
| QPointF * | p3, | ||
| QPointF * | p4, | ||
| QPointF * | p5 ) |
Definition at line 20 of file SvgMeshPatch.cpp.
|
inline |
| QPair< std::array< QPointF, 4 >, std::array< QPointF, 4 > > splitAt | ( | const std::array< QPointF, 4 > & | points, |
| qreal | t ) |
Definition at line 54 of file SvgMeshPatch.cpp.
References deCasteljau().