QLineF

class QLineF

Constructors

this
this(const(QPointF) apt1, const(QPointF) apt2)
Undocumented in source.
this
this(qreal x1pos, qreal y1pos, qreal x2pos, qreal y2pos)
Undocumented in source.

Members

Aliases

IntersectionType
alias IntersectionType = IntersectType
Undocumented in source.

Enums

IntersectType
enum IntersectType
Undocumented in source.

Functions

angle
qreal angle()
Undocumented in source.
angle
qreal angle(const(QLineF) l)
Undocumented in source.
angleTo
qreal angleTo(const(QLineF) l)
Undocumented in source.
center
QPointF center()
Undocumented in source. Be warned that the author may not have intended to support it.
dx
qreal dx()
Undocumented in source. Be warned that the author may not have intended to support it.
dy
qreal dy()
Undocumented in source. Be warned that the author may not have intended to support it.
intersect
IntersectType intersect(const(QLineF) l, QPointF* intersectionPoint)
Undocumented in source.
intersects
IntersectionType intersects(const(QLineF) l, QPointF* intersectionPoint)
Undocumented in source.
isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
length
qreal length()
Undocumented in source.
normalVector
QLineF normalVector()
Undocumented in source. Be warned that the author may not have intended to support it.
p1
QPointF p1()
Undocumented in source. Be warned that the author may not have intended to support it.
p2
QPointF p2()
Undocumented in source. Be warned that the author may not have intended to support it.
pointAt
QPointF pointAt(qreal t)
Undocumented in source. Be warned that the author may not have intended to support it.
setAngle
void setAngle(qreal angle)
Undocumented in source.
setLength
void setLength(qreal len)
Undocumented in source. Be warned that the author may not have intended to support it.
setLine
void setLine(qreal aX1, qreal aY1, qreal aX2, qreal aY2)
Undocumented in source. Be warned that the author may not have intended to support it.
setP1
void setP1(const(QPointF) aP1)
Undocumented in source. Be warned that the author may not have intended to support it.
setP2
void setP2(const(QPointF) aP2)
Undocumented in source. Be warned that the author may not have intended to support it.
setPoints
void setPoints(const(QPointF) aP1, const(QPointF) aP2)
Undocumented in source. Be warned that the author may not have intended to support it.
toLine
QLine toLine()
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(const(QPointF) point)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(qreal adx, qreal ady)
Undocumented in source. Be warned that the author may not have intended to support it.
translated
QLineF translated(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
translated
QLineF translated(qreal adx, qreal ady)
Undocumented in source. Be warned that the author may not have intended to support it.
unitVector
QLineF unitVector()
Undocumented in source.
x1
qreal x1()
Undocumented in source. Be warned that the author may not have intended to support it.
x2
qreal x2()
Undocumented in source. Be warned that the author may not have intended to support it.
y1
qreal y1()
Undocumented in source. Be warned that the author may not have intended to support it.
y2
qreal y2()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromPolar
QLineF fromPolar(qreal length, qreal angle)
Undocumented in source.

Meta