MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ClientToScreenScaledWidth

Method ClientToScreenScaledWidth

ogsr_engine/xrGame/ui_base.cpp:136–140  ·  view source on GitHub ↗

ScreenToClientScaledWidth ???

Source from the content-addressed store, hash-verified

134
135// ScreenToClientScaledWidth ???
136void ui_core::ClientToScreenScaledWidth(float& src_and_dest)
137{
138 if (m_currentPointType != IUIRender::pttLIT)
139 src_and_dest /= m_current_scale->x;
140}
141
142// ScreenToClientScaledHeight ???
143void ui_core::ClientToScreenScaledHeight(float& src_and_dest)

Callers 7

cut_string_by_lengthFunction · 0.80
AdjustWidthToTextMethod · 0.80
GetLongestLengthMethod · 0.80
DrawMethod · 0.80
ParseTextMethod · 0.80
DrawCursorMethod · 0.80
AddCharMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected