MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / PixelToCursorSpace

Method PixelToCursorSpace

vgui2_support/vgui_controls/TextEntry.cpp:519–604  ·  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 6

surfaceFunction · 0.85
getCharWidthFunction · 0.85
minFunction · 0.50
maxFunction · 0.50
GetFontTallMethod · 0.45
CountMethod · 0.45

Tested by

no test coverage detected