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

Method ComputeAlignment

vgui2_support/vgui_controls/Label.cpp:356–454  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Calculates where in the panel the content resides Input : &tx0 - [out] position of the content &ty0 - &tx1 - &ty1 - Note: horizontal alignment is west if the image dar has more than one image in it, this is because we use image sizes to determine layout in classes for example, Menu. ----------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

maxFunction · 0.50
CountMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected