MCPcopy Create free account
hub / github.com/KDE/labplot / setRotationAngle

Method setRotationAngle

src/backend/worksheet/WorksheetElement.cpp:838–843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836
837GRAPHICSITEM_SETTER_CMD_IMPL_F_S(WorksheetElement, SetRotationAngle, qreal, rotation, setRotation, recalcShapeAndBoundingRect)
838void WorksheetElement::setRotationAngle(qreal angle) {
839 const qreal angle_graphicsItem = -angle;
840 Q_D(WorksheetElement);
841 if (angle_graphicsItem != d->rotation())
842 exec(new WorksheetElementSetRotationAngleCmd(d, angle_graphicsItem, ki18n("%1: set rotation angle")));
843}
844
845// ##############################################################################
846// ####################### Private implementation ###############################

Callers 7

rotationChangedMethod · 0.45
rotationChangedMethod · 0.45
rotationChangedMethod · 0.45
rotationChangedMethod · 0.45
rotationChangedMethod · 0.45
rotationChangedMethod · 0.45
showParetoPlotMethod · 0.45

Calls 1

rotationMethod · 0.80

Tested by

no test coverage detected