angle = textpath.angelAtPercent(one_part*i);QTransform transform;transform.translate(point.x(), point.y());transform.rotate(angle);transform.translate(-point.x(), -point.y());painter.setWorldTransform(transform);