MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / performRedo

Method performRedo

libs/librepcb/editor/cmd/cmdstroketextedit.cpp:219–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void CmdStrokeTextEdit::performRedo() {
220 mText.setLayer(*mNewLayer);
221 mText.setText(mNewText);
222 mText.setPosition(mNewPosition);
223 mText.setRotation(mNewRotation);
224 mText.setHeight(mNewHeight);
225 mText.setStrokeWidth(mNewStrokeWidth);
226 mText.setLetterSpacing(mNewLetterSpacing);
227 mText.setLineSpacing(mNewLineSpacing);
228 mText.setAlign(mNewAlign);
229 mText.setMirrored(mNewMirrored);
230 mText.setAutoRotate(mNewAutoRotate);
231}
232
233/*******************************************************************************
234 * End of File

Callers

nothing calls this directly

Calls 11

setLayerMethod · 0.45
setTextMethod · 0.45
setPositionMethod · 0.45
setRotationMethod · 0.45
setHeightMethod · 0.45
setStrokeWidthMethod · 0.45
setLetterSpacingMethod · 0.45
setLineSpacingMethod · 0.45
setAlignMethod · 0.45
setMirroredMethod · 0.45
setAutoRotateMethod · 0.45

Tested by

no test coverage detected