Home
last modified time | relevance | path

Searched refs:splPath (Results 1 – 22 of 22) sorted by relevance

/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/tools/drawTools/toolcurve/
H A Dvtoolcubicbezierpath.cpp79 dialogTool->SetPath(*splPath); in setDialog()
159 return *splPath.data(); in getSplinePath()
167 *splinePath.data() = splPath; in setSplinePath()
196 for (qint32 i = 0; i < splPath->CountPoints(); ++i) in RemoveReferens()
198 doc->DecrementReferens(splPath->at(i).getIdTool()); in RemoveReferens()
217 for (qint32 i = 0; i < splPath.CountPoints(); ++i) in SaveDialog()
225 SetSplinePathAttributes(domElement, splPath); in SaveDialog()
234 SCASSERT(splPath.isNull() == false) in SaveOptions()
236 SetSplinePathAttributes(tag, *splPath); in SaveOptions()
248 visual->setPath(*splPath.data()); in SetVisualization()
[all …]
H A Dvtoolsplinepath.cpp112 const VSpline spl = splPath->GetSpline(i); in VToolSplinePath()
135 if (i < splPath->CountSubSpl()) in VToolSplinePath()
170 dialogTool->SetPath(*splPath); in setDialog()
379 if (indexSpline < splPath->CountSubSpl()) in UpdateControlPoints()
443 return *splPath.data(); in getSplinePath()
451 *splinePath.data() = splPath; in setSplinePath()
534 VSpline spl = splPath.GetSpline(i); in SaveDialog()
559 SCASSERT(splPath.isNull() == false) in SaveOptions()
561 SetSplinePathAttributes(tag, *splPath); in SaveOptions()
753 visual->setPath(*splPath.data()); in SetVisualization()
[all …]
H A Dvtoolsplinepath.h89 void setSplinePath(const VSplinePath &splPath);
136 void UpdateControlPoints(const VSpline &spl, QSharedPointer<VSplinePath> &splPath,
H A Dvtoolcubicbezierpath.h77 void setSplinePath(const VCubicBezierPath &splPath);
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vgeometry/
H A Dvsplinepath.cpp103 d(splPath.d) in VSplinePath()
123 VSplinePath splPath(newPoints); in Rotate() local
131 splPath.SetColor(GetColor()); in Rotate()
134 return splPath; in Rotate()
154 VSplinePath splPath(newPoints); in Flip() local
162 splPath.SetColor(GetColor()); in Flip()
165 return splPath; in Flip()
185 VSplinePath splPath(newPoints); in Move() local
193 splPath.SetColor(GetColor()); in Move()
196 return splPath; in Move()
[all …]
H A Dvcubicbezierpath_p.h49 VCubicBezierPathData(const VCubicBezierPathData &splPath) in VCubicBezierPathData() argument
50 : QSharedData(splPath), in VCubicBezierPathData()
51 path(splPath.path) in VCubicBezierPathData()
H A Dvsplinepath_p.h47 VSplinePathData(const VSplinePathData &splPath) in VSplinePathData() argument
48 : QSharedData(splPath), in VSplinePathData()
49 path(splPath.path) in VSplinePathData()
H A Dvsplinepath.h61 VSplinePath(const VSplinePath& splPath);
70 VSplinePath(const VSplinePath&& splPath) Q_DECL_NOTHROW;
H A Dvabstractcubicbezierpath.cpp285 name = splPath; in CreateName()
310 SetAlias(splPath + '_' + aliasSuffix); in CreateAlias()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/
H A Dvtoolcutsplinepath.cpp139 SCASSERT(splPath != nullptr) in Create()
142 …VCurveLength *length = new VCurveLength(initData.baseCurveId, initData.baseCurveId, splPath.data(), in Create()
203 initData.doc->IncrementReferens(splPath->getIdTool()); in Create()
220 SCASSERT(splPath != nullptr) in CutSplinePath()
225 const QPointF point = splPath->CutSplinePath(length, p1, p2, spl1p2, spl1p3, spl2p2, spl2p3); in CutSplinePath()
229 const QVector<VSplinePoint> points = splPath->GetSplinePath(); in CutSplinePath()
235 spl1.SetApproximationScale(splPath->GetApproximationScale()); in CutSplinePath()
238 spl2.SetApproximationScale(splPath->GetApproximationScale()); in CutSplinePath()
241 (*splPath1)->SetApproximationScale(splPath->GetApproximationScale()); in CutSplinePath()
243 (*splPath2)->SetApproximationScale(splPath->GetApproximationScale()); in CutSplinePath()
[all …]
H A Dvtoolcutsplinepath.h66 … const QSharedPointer<VAbstractCubicBezierPath> &splPath,
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/tools/nodeDetails/
H A Dvnodesplinepath.cpp67 VNodeSplinePath *splPath = new VNodeSplinePath(initData); in Create() local
69 VAbstractPattern::AddTool(initData.id, splPath); in Create()
75 splPath->setParent(tool);// Adopted by a tool in Create()
80 initData.doc->AddToolOnRemove(splPath); in Create()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/visualization/path/
H A Dvistoolcutsplinepath.cpp67 … const auto splPath = Visualization::data->GeometricObject<VAbstractCubicBezierPath>(object1Id); in RefreshGeometry() local
68 …DrawPath(this, splPath->GetPath(), splPath->DirectionArrows(), supportColor, lineStyle, Qt::RoundC… in RefreshGeometry()
74 … VPointF *p = VToolCutSplinePath::CutSplinePath(length, splPath, "X", &spPath1, &spPath2); in RefreshGeometry()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/test/ValentinaTest/
H A Dtst_vsplinepath.cpp188 const VSplinePath splPath(originPoints); in TestFlip() local
189 const VSplinePath res = splPath.Flip(axis, prefix); in TestFlip()
194 QCOMPARE(splPath.GetLength(), res.GetLength()); in TestFlip()
195 QCOMPARE(splPath.CountPoints(), res.CountPoints()); in TestFlip()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/ifc/
H A Difcdef.cpp286 const QString splPath = QStringLiteral("SplPath"); variable
297 const QString c1LengthSplPath = c1Length_V + splPath;
298 const QString c2LengthSplPath = c2Length_V + splPath;
305 const QString angle1SplPath = angle1_V + splPath;
306 const QString angle2SplPath = angle2_V + splPath;
320 << splPath
H A Difcdef.h211 extern const QString splPath;
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/app/valentina/dialogs/
H A Ddialoghistory.cpp325 … const QSharedPointer<VSplinePath> splPath = data->GeometricObject<VSplinePath>(tool.getId()); in Record() local
326 SCASSERT(not splPath.isNull()) in Record()
327 record.description = splPath->NameForHistory(tr("Spline path")); in Record()
332 …const QSharedPointer<VCubicBezierPath> splPath = data->GeometricObject<VCubicBezierPath>(tool.getI… in Record() local
333 SCASSERT(not splPath.isNull()) in Record()
334 record.description = splPath->NameForHistory(tr("Cubic bezier curve path")); in Record()
383 const QSharedPointer<VAbstractCubicBezierPath> splPath = in Record() local
385 SCASSERT(not splPath.isNull()) in Record()
387 … .arg(PointName(tool.getId()), splPath->NameForHistory(tr("curve path"))); in Record()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/undocommands/
H A Dmovesplinepath.cpp94 void MoveSplinePath::Do(const VSplinePath &splPath) in Do() argument
99 VToolSplinePath::UpdatePathPoints(doc, domElement, splPath); in Do()
H A Dmovesplinepath.h61 void Do(const VSplinePath &splPath);
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/
H A Dvtoolsinglepoint.cpp467 const auto splPath = data->GeometricObject<VAbstractCubicBezierPath>(curveId); in InitSegments() local
472 …VPointF *pC = VToolCutSplinePath::CutSplinePath(segLength, splPath, p->name(), &splPath1, &splPath… in InitSegments()
477 … VPointF *pC = VToolCutSplinePath::CutSplinePath(0, splPath, p->name(), &splPath1, &splPath2); in InitSegments()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/test/TranslationsTest/
H A Dtst_buitinregexp.cpp129 data.insert(splPath, false); in TestCheckUnderlineExists_data()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vpatterndb/
H A Dvtranslatevars.cpp371 …variables.insert(splPath, translate("VTranslateVars", "SplPath", "Do not add symbol _ to the end o… in InitVariables()