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

Method CursorToPixelSpace

vgui2_support/vgui_controls/TextEntry.cpp:455–511  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Given cursor's position in the text buffer, convert it to the local window's x and y pixel coordinates Input: cursorPos: cursor index Output: cx, cy, the corresponding coords in the local window -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getCharWidthFunction · 0.85
CountMethod · 0.45

Tested by

no test coverage detected