MCPcopy Create free account
hub / github.com/KLayout/klayout / undo

Function undo

src/laybasic/laybasic/layAnnotationShapes.h:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 virtual void undo (AnnotationShapes *shapes)
78 {
79 if (m_insert) {
80 erase (shapes);
81 } else {
82 insert (shapes);
83 }
84 }
85
86 virtual void redo (AnnotationShapes *shapes)
87 {

Callers 1

undoMethod · 0.70

Calls 2

insertFunction · 0.70
eraseFunction · 0.50

Tested by

no test coverage detected