Wt
3.3.12
|
A segment. More...
Public Types | |
enum | Type { MoveTo = 0 , LineTo = 1 , CubicC1 = 2 , CubicC2 = 3 , CubicEnd = 4 , QuadC = 5 , QuadEnd = 6 , ArcC = 7 , ArcR = 8 , ArcAngleSweep = 9 } |
Public Member Functions | |
double | x () const |
double | y () const |
Type | type () const |
A segment.
The segment type
Type Wt::WPainterPath::Segment::type | ( | ) | const |
The type of the segment
double Wt::WPainterPath::Segment::x | ( | ) | const |
The x parameter
Depending on the type(), this is either the x position of the point, or something else.
double Wt::WPainterPath::Segment::y | ( | ) | const |
The y parameter
Depending on the type(), this is either the y position of the point, or something else.