Lines Matching refs:rtWidget
76 CFX_RectF rtWidget = m_pNormalWidget->GetWidgetRect(); in RenderWidget() local
77 CFX_Matrix mt(1, 0, 0, 1, rtWidget.left, rtWidget.top); in RenderWidget()
172 CFX_RectF rtWidget = GetRectWithoutRotate(); in CapPlacement() local
181 rtWidget.Deflate(fLeftInset, fTopInset, fRightInset, fBottomInset); in CapPlacement()
184 rtWidget.Deflate(fLeftInset, fTopInset, fRightInset, 0); in CapPlacement()
186 rtWidget.Deflate(fLeftInset, 0, fRightInset, fBottomInset); in CapPlacement()
188 rtWidget.Deflate(fLeftInset, 0, fRightInset, 0); in CapPlacement()
205 m_rtCaption = rtWidget; in CapPlacement()
233 m_rtUI = rtWidget; in CapPlacement()
238 CapLeftRightPlacement(capMargin, rtWidget, iCapPlacement); in CapPlacement()
245 CapTopBottomPlacement(capMargin, rtWidget, iCapPlacement); in CapPlacement()
253 CapLeftRightPlacement(capMargin, rtWidget, iCapPlacement); in CapPlacement()
260 CapTopBottomPlacement(capMargin, rtWidget, iCapPlacement); in CapPlacement()
280 const CFX_RectF& rtWidget, in CapTopBottomPlacement() argument
292 if (fWidth > rtWidget.width) in CapTopBottomPlacement()
293 m_rtUI.width += fWidth - rtWidget.width; in CapTopBottomPlacement()
298 } else if (fHeight > rtWidget.height) { in CapTopBottomPlacement()
299 m_rtUI.height += fHeight - rtWidget.height; in CapTopBottomPlacement()
301 m_rtCaption.top += fHeight - rtWidget.height; in CapTopBottomPlacement()
306 const CFX_RectF& rtWidget, in CapLeftRightPlacement() argument
319 if (fWidth > rtWidget.width) { in CapLeftRightPlacement()
320 m_rtUI.width += fWidth - rtWidget.width; in CapLeftRightPlacement()
322 m_rtCaption.left += fWidth - rtWidget.width; in CapLeftRightPlacement()
328 } else if (fHeight > rtWidget.height) { in CapLeftRightPlacement()
329 m_rtUI.height += fHeight - rtWidget.height; in CapLeftRightPlacement()