Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathTool::PathSegment Struct Reference

Public Member Functions

bool isValid ()
 
 PathSegment ()
 

Public Attributes

KoPathShapepath
 
qreal positionOnSegment
 
KoPathPointsegmentStart
 

Detailed Description

Definition at line 72 of file KoPathTool.cpp.

Constructor & Destructor Documentation

◆ PathSegment()

KoPathTool::PathSegment::PathSegment ( )
inline

Definition at line 73 of file KoPathTool.cpp.

75 {
76 }
KoPathPoint * segmentStart

Member Function Documentation

◆ isValid()

bool KoPathTool::PathSegment::isValid ( )
inline

Definition at line 78 of file KoPathTool.cpp.

78 {
79 return path && segmentStart;
80 }

References segmentStart.

Member Data Documentation

◆ path

KoPathShape* KoPathTool::PathSegment::path

Definition at line 82 of file KoPathTool.cpp.

◆ positionOnSegment

qreal KoPathTool::PathSegment::positionOnSegment

Definition at line 84 of file KoPathTool.cpp.

◆ segmentStart

KoPathPoint* KoPathTool::PathSegment::segmentStart

Definition at line 83 of file KoPathTool.cpp.


The documentation for this struct was generated from the following file: