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 71 of file KoPathTool.cpp.

Constructor & Destructor Documentation

◆ PathSegment()

KoPathTool::PathSegment::PathSegment ( )
inline

Definition at line 72 of file KoPathTool.cpp.

74 {
75 }
KoPathPoint * segmentStart

Member Function Documentation

◆ isValid()

bool KoPathTool::PathSegment::isValid ( )
inline

Definition at line 77 of file KoPathTool.cpp.

77 {
78 return path && segmentStart;
79 }

References segmentStart.

Member Data Documentation

◆ path

KoPathShape* KoPathTool::PathSegment::path

Definition at line 81 of file KoPathTool.cpp.

◆ positionOnSegment

qreal KoPathTool::PathSegment::positionOnSegment

Definition at line 83 of file KoPathTool.cpp.

◆ segmentStart

KoPathPoint* KoPathTool::PathSegment::segmentStart

Definition at line 82 of file KoPathTool.cpp.


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