MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / paintRotationCenter

Method paintRotationCenter

src/tools/UBGraphicsRuler.cpp:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void 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
277void UBGraphicsRuler::rotateAroundCenter(qreal angle)
278{

Callers

nothing calls this directly

Calls 1

drawArcMethod · 0.80

Tested by

no test coverage detected