| 267 | } |
| 268 | |
| 269 | void UBGraphicsRuler::paintRotationCenter(QPainter *painter) |
| 270 | { |
| 271 | painter->drawArc( |
| 272 | rotationCenter().x() - sRotationRadius, rotationCenter().y() - sRotationRadius, |
| 273 | 2 * sRotationRadius, 2 * sRotationRadius, |
| 274 | 270 * sDegreeToQtAngleUnit, 90 * sDegreeToQtAngleUnit); |
| 275 | } |
| 276 | |
| 277 | void UBGraphicsRuler::rotateAroundCenter(qreal angle) |
| 278 | { |