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

Method CursorToPixelSpace

src/vgui2/vgui_controls/TextEntry.cpp:388–444  ·  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