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

Method ComputeAlignment

src/vgui2/vgui_controls/Label.cpp:396–494  ·  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 2

CountMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected