Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KLayout/klayout
/ set_points
Method
set_points
src/laybasic/laybasic/layRubberBox.cc:69–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
void
70
RubberBox::set_points (const db::DPoint &p1, const db::DPoint &p2)
71
{
72
if (m_p1 != p1 || m_p2 != p2) {
73
m_p1 = p1;
74
m_p2 = p2;
75
redraw ();
76
}
77
}
78
79
}
80
Callers
3
mouse_move_event
Method · 0.45
mouse_move_event
Method · 0.45
mouse_move_event
Method · 0.45
Calls
1
redraw
Function · 0.85
Tested by
no test coverage detected