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

Method setLayer

libs/librepcb/editor/cmd/cmdcircleedit.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 ******************************************************************************/
65
66void CmdCircleEdit::setLayer(const Layer& layer, bool immediate) noexcept {
67 Q_ASSERT(!wasEverExecuted());
68 mNewLayer = &layer;
69 if (immediate) mCircle.setLayer(*mNewLayer);
70}
71
72void CmdCircleEdit::setLineWidth(const UnsignedLength& width,
73 bool immediate) noexcept {

Callers 2

performUndoMethod · 0.45
performRedoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected