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

Method ClientToScreenScaledHeight

ogsr_engine/xrGame/ui_base.cpp:143–147  ·  view source on GitHub ↗

ScreenToClientScaledHeight ???

Source from the content-addressed store, hash-verified

141
142// ScreenToClientScaledHeight ???
143void ui_core::ClientToScreenScaledHeight(float& src_and_dest)
144{
145 if (m_currentPointType != IUIRender::pttLIT)
146 src_and_dest /= m_current_scale->y;
147}
148
149void ui_core::AlignPixel(float& src_and_dest)
150{

Callers 3

GetVisibleHeightMethod · 0.80
DrawMethod · 0.80
DrawCursorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected