NAME
Qt::Core::QLineF
PUBLIC METHODS
- QLineF()
- QLineF(const QLine & line)
- QLineF(const QPointF & pt1, const QPointF & pt2)
- QLineF(qreal x1, qreal y1, qreal x2, qreal y2)
- qreal angle()
- qreal angle(const QLineF & l)
- qreal angleTo(const QLineF & l)
- qreal dx()
- qreal dy()
- static QLineF fromPolar(qreal length, qreal angle)
- QLineF::IntersectType intersect(const QLineF & l, QPointF * intersectionPoint)
- bool isNull()
- qreal length()
- QLineF normalVector()
- bool operator!=(const QLineF & d)
- bool operator==(const QLineF & d)
- QPointF p1()
- QPointF p2()
- QPointF pointAt(qreal t)
- void setAngle(qreal angle)
- void setLength(qreal len)
- void setLine(qreal x1, qreal y1, qreal x2, qreal y2)
- void setP1(const QPointF & p1)
- void setP2(const QPointF & p2)
- void setPoints(const QPointF & p1, const QPointF & p2)
- QLine toLine()
- void translate(const QPointF & p)
- void translate(qreal dx, qreal dy)
- QLineF translated(const QPointF & p)
- QLineF translated(qreal dx, qreal dy)
- QLineF unitVector()
- qreal x1()
- qreal x2()
- qreal y1()
- qreal y2()
ENUM VALUES
- NoIntersection
- BoundedIntersection
- UnboundedIntersection
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.