Andree
17th May 2014, 22:21
Hello,
At first I would like to apologize you for my english.
I have a triangle, let's say like this
static const QPoint T[3] = {
QPoint(80, 80),
QPoint(80, 88),
QPoint(-80, 84)
};
painter.drawConvexPolygon(T, 3);
and I want to rotate this triangle about point a(-80.0,84.0). HHow can I do this?
It will be in loop so i want to change only degrees. And when i want to change degrees it should be come back on the first position. Thanks for help.
At first I would like to apologize you for my english.
I have a triangle, let's say like this
static const QPoint T[3] = {
QPoint(80, 80),
QPoint(80, 88),
QPoint(-80, 84)
};
painter.drawConvexPolygon(T, 3);
and I want to rotate this triangle about point a(-80.0,84.0). HHow can I do this?
It will be in loop so i want to change only degrees. And when i want to change degrees it should be come back on the first position. Thanks for help.