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

Method CursorToPixelSpace

vgui2_support/vgui_controls/RichText.cpp:469–507  ·  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 3

surfaceFunction · 0.85
CountMethod · 0.45
GetCharacterWidthMethod · 0.45

Tested by

no test coverage detected