MCPcopy Create free account
hub / github.com/DFHack/dfhack / inClipLocal

Function inClipLocal

library/include/modules/Screen.h:171–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 return inClipGlobal(pos.x, pos.y);
170 }
171 bool inClipLocal(int x, int y) const {
172 return inClipGlobal(x + view.first.x, y + view.first.y);
173 }
174 bool inClipLocal(df::coord2d pos) const {
175 return inClipLocal(pos.x, pos.y);
176 }

Callers

nothing calls this directly

Calls 1

inClipGlobalFunction · 0.85

Tested by

no test coverage detected