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

Method mouse_event_trans

src/laybasic/laybasic/layViewObject.cc:1089–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087}
1088
1089void
1090ViewObjectUI::mouse_event_trans (const db::DCplxTrans &trans)
1091{
1092 if (trans != m_trans) {
1093 m_trans = trans;
1094 // issue a move event in order to reposition the mouse in the new coordinate system
1095 // since this may be called from within a mouse move event handler we need the recursion sentinel
1096 if (! m_in_mouse_move) {
1097 do_mouse_move ();
1098 }
1099 }
1100}
1101
1102void
1103ViewObjectUI::drag_cancel ()

Callers 15

mouse_click_eventMethod · 0.80
mouse_move_eventMethod · 0.80
catch_distanceMethod · 0.80
catch_distance_boxMethod · 0.80
move_implMethod · 0.80
catch_distanceMethod · 0.80
catch_distance_boxMethod · 0.80
snap2_detailsMethod · 0.80
catch_distanceMethod · 0.80
catch_distance_boxMethod · 0.80
probe_netMethod · 0.80

Calls 1

do_mouse_moveFunction · 0.85

Tested by

no test coverage detected