NAME

Qt::Core::QLine

PUBLIC METHODS

QLine()
QLine(const QPoint & pt1, const QPoint & pt2)
QLine(int x1, int y1, int x2, int y2)
int dx()
int dy()
bool isNull()
bool operator!=(const QLine & d)
bool operator==(const QLine & d)
QPoint p1()
QPoint p2()
void setLine(int x1, int y1, int x2, int y2)
void setP1(const QPoint & p1)
void setP2(const QPoint & p2)
void setPoints(const QPoint & p1, const QPoint & p2)
void translate(const QPoint & p)
void translate(int dx, int dy)
QLine translated(const QPoint & p)
QLine translated(int dx, int dy)
int x1()
int x2()
int y1()
int y2()

ENUM VALUES

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.

See http://dev.perl.org/licenses/artistic.html