MCPcopy Create free account
hub / github.com/NetHack/NetHack / imagePoint

Method imagePoint

outdated/win/Qt3/tileedit.cpp:267–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267QPoint TrivialTileEditor::imagePoint(QPoint p) const
268{
269 return QPoint(p.x()*TILE_X/width(), p.y()*TILE_Y/height());
270}
271
272QPoint TrivialTileEditor::screenPoint(QPoint p) const
273{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected