Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAlgebra2D::VectorPath::Segment Struct Reference

#include <kis_algebra_2d.h>

Public Member Functions

 Segment (VectorPathPoint _start, VectorPathPoint _end)
 

Public Attributes

QPointF controlPoint1 {QPointF()}
 
QPointF controlPoint2 {QPointF()}
 
VectorPathPoint end
 
QPointF endPoint {QPointF()}
 
VectorPathPoint start
 
QPointF startPoint {QPointF()}
 
VectorPathPoint::Type type {VectorPathPoint::MoveTo}
 

Detailed Description

Definition at line 627 of file kis_algebra_2d.h.

Constructor & Destructor Documentation

◆ Segment()

KisAlgebra2D::VectorPath::Segment::Segment ( VectorPathPoint _start,
VectorPathPoint _end )
inline

Definition at line 639 of file kis_algebra_2d.h.

640 : start(_start)
641 , end(_end)
642 , startPoint(_start.endPoint)
643 , endPoint(_end.endPoint)
644 , controlPoint1(_end.controlPoint1)
645 , controlPoint2(_end.controlPoint2)
646 , type(_end.type)
647 {
648
649 }

Member Data Documentation

◆ controlPoint1

QPointF KisAlgebra2D::VectorPath::Segment::controlPoint1 {QPointF()}

Definition at line 634 of file kis_algebra_2d.h.

634{QPointF()};

◆ controlPoint2

QPointF KisAlgebra2D::VectorPath::Segment::controlPoint2 {QPointF()}

Definition at line 635 of file kis_algebra_2d.h.

635{QPointF()};

◆ end

VectorPathPoint KisAlgebra2D::VectorPath::Segment::end

Definition at line 630 of file kis_algebra_2d.h.

◆ endPoint

QPointF KisAlgebra2D::VectorPath::Segment::endPoint {QPointF()}

Definition at line 633 of file kis_algebra_2d.h.

633{QPointF()};

◆ start

VectorPathPoint KisAlgebra2D::VectorPath::Segment::start

Definition at line 629 of file kis_algebra_2d.h.

◆ startPoint

QPointF KisAlgebra2D::VectorPath::Segment::startPoint {QPointF()}

Definition at line 632 of file kis_algebra_2d.h.

632{QPointF()};

◆ type


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