MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / PixelToCursorSpace

Method PixelToCursorSpace

src/vgui2/vgui_controls/TextEntry.cpp:452–537  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Converts local pixel coordinates to an index in the text buffer This function appears to be used only in response to mouse clicking Input : cx - cy - pixel location -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

clampFunction · 0.85
surfaceFunction · 0.85
getCharWidthFunction · 0.85
CountMethod · 0.45

Tested by

no test coverage detected