MCPcopy Create free account
hub / github.com/SOUI2/soui / GetPadding

Method GetPadding

SOUI/src/core/SwndStyle.cpp:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142CRect SwndStyle::GetPadding() const
143{
144 CRect rcRet;
145 rcRet.left = m_rcInset[0].toPixelSize(GetScale());
146 rcRet.top = m_rcInset[1].toPixelSize(GetScale());
147 rcRet.right = m_rcInset[2].toPixelSize(GetScale());
148 rcRet.bottom = m_rcInset[3].toPixelSize(GetScale());
149 return rcRet;
150
151}
152
153
154}//namespace SOUI

Callers 14

STabSliderClass · 0.80
GetTextRectMethod · 0.80
GetDesiredSizeMethod · 0.80
OnNcCalcSizeMethod · 0.80
OnPaintMethod · 0.80
GetChildrenLayoutRectMethod · 0.80
UpdateViewSizeMethod · 0.80
GetChildrenLayoutRectMethod · 0.80
GetDesiredSizeMethod · 0.80
GetTextRectMethod · 0.80
GetChildrenLayoutRectMethod · 0.80

Calls 2

toPixelSizeMethod · 0.80
GetScaleFunction · 0.50

Tested by

no test coverage detected