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

Method DrawString

vgui2_support/vgui_controls/RichText.cpp:610–649  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Draws a string of characters in the panel Input: iFirst - Index of the first character to draw iLast - Index of the last character to draw renderState - Render state to use font- font to use Output: returns the width of the character drawn -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

surfaceFunction · 0.85
aMethod · 0.80
GetFontTallMethod · 0.45
GetCharacterWidthMethod · 0.45
DrawSetColorMethod · 0.45
DrawFilledRectMethod · 0.45
DrawSetTextColorMethod · 0.45
DrawSetTextPosMethod · 0.45
DrawPrintTextMethod · 0.45

Tested by

no test coverage detected