MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetTextWidth

Method GetTextWidth

engine/Poseidon/UI/Controls/UIControlsHTML.cpp:592–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592float CHTML::GetTextWidth(float size, Font* font, const char* text) const
593{
594 return GEngine->GetTextWidth(size, font, text);
595}
596
597C3DHTML::C3DHTML(ControlsContainer* parent, int idc, const ParamEntry& cls)
598 : Control3D(parent, CT_3DHTML, idc, cls), CHTMLContainer(cls)

Callers 15

DrawMPTableMethod · 0.45
DrawNetworkStatisticsFunction · 0.45
OnDrawMethod · 0.45
DrawLabelMethod · 0.45
DrawCommandsMethod · 0.45
DrawLabelMethod · 0.45
OnDrawMethod · 0.45
DrawLabelMethod · 0.45
MsgBoxMethod · 0.45
DrawNameMethod · 0.45
DrawMountMethod · 0.45
DrawGridMethod · 0.45

Calls 3

GetText3DWidthMethod · 0.80
NormalizedMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected