NAME

Qt::Gui::QVector2D

PUBLIC METHODS

QVector2D()
QVector2D(const QPoint & point)
QVector2D(const QPointF & point)
QVector2D(const QVector3D & vector)
QVector2D(const QVector4D & vector)
QVector2D(qreal xpos, qreal ypos)
static qreal dotProduct(const QVector2D & v1, const QVector2D & v2)
bool isNull()
qreal length()
qreal lengthSquared()
void normalize()
QVector2D normalized()
QVariant operator QVariant()
QVector2D & operator*=(qreal factor)
QVector2D & operator*=(const QVector2D & vector)
QVector2D & operator+=(const QVector2D & vector)
QVector2D & operator-=(const QVector2D & vector)
QVector2D & operator/=(qreal divisor)
void setX(qreal x)
void setY(qreal y)
QPoint toPoint()
QPointF toPointF()
QVector3D toVector3D()
QVector4D toVector4D()
qreal x()
qreal y()

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